Database is not available, check that the database exists, that the user has permission to access the database
After the local build PHP + MySQL + Apache + zo configuration, everything is OK, but to install the configuration database information,
Build a PHP development environment under the Windows platform
Build a PHP development environment under the Windows platform
Preparing the Software
1. Web server.
Que ' s HTTP Server v0.2
Pros: Open source, do not need to install, GUI
From MySQL to take a content field to print out, but the error
Plan to take a field from MySQL to try the effect of NL2BR function, but error.
Notation (currently, only one record in the database):
PHP Code
$result = mysql_query
PHP unset destroys variables and frees memory issues
The following are quoted from http://leepiao.blog.163.com/blog/static/485031302010718105814266/, a floating blog
?
?
The PHP unset () function is used to clear, destroy variables, and we can
How does PHP replace special characters in the specified key sub-lines?
PHP wants to match
.....
..... This omits the rows in the same format as Connaught Dry.
The keyword in this line is Providername= "System.Data.SqlClient", and then to get
Say a lot of beginners (for example, I) have encountered the solution of the problem, of course, this solution leads to another problem, solve!!
Everyone (super beginner), is not all tried PHP can not parse, that is, the PHP file opened with the
Static variable statics in PHP and Java
Because static members are created when the class is first loaded, it is possible to use the class name to access static members that do not require objects outside of the class, and static members are
Magento show a variety of member prices
I want in the Product detail page, display the product's various price, is according to the customer group different price, how to make, expert pointing, very thanks!
------Solution--------------------
This
About WordPress using PHP to invoke JavaScript
Recently look at the source of WordPress, I only know that JavaScript is on the web side of the script, when looking at the WordPress source code to find that PHP often call JavaScript, the server side
Through the Sina stock market interface, how to judge the same day in addition to the right to ex-dividend stock?
I want to make a function, click the button, you can put the same day ex-dividend shares listed, my website stock quotes is called Sina
Perfect PHP regular expressions that match Chinese
1. General use of meta-characters matching Chinese,/.*?/s, can match a section of Chinese, which in the ANSI (GB2312) and UTF-8 Environment of the program code can be implemented. But to remind you,
What are we all using, editor?
I've been using Dreamweaver because I also do HTML, but it's too much of a card. I can't stand it!
------Solution--------------------
Dw+ue+eclipse
------Solution--------------------
EditPlus
------Solution------------
Using Fusioncharts in PHP
Author: zccst
The data format has Setdataurl (Srcurl) and Setjsondata (JSONSTR) Two kinds of
Usage is explained in detail in both the official demo and document.
In the actual demand, the direct reference to the official
PHP output Current Process all variables/constants/modules/functions/Classes
1.?get_defined_vars? ? (PHP 4 >= 4.0.4, PHP 5)? ― Get array consisting of all defined variables
?
Array ? Get_defined_vars ? (? void ?)
?
This function returns a
What is the error code for this SQL insert?
PHP code written in DW
Untitled Document
mysql_connect (' localhost ', ' root ', ' 778692 ');
mysql_query ("Set names GBK");
mysql_select_db (' Test ');
INSERT into ' test '. ' Votes ' (
'
PHP and Redis use experience sharing
First, installation
1. Redis Download and Installation:
Reference
Mkdir/usr/local/redis
Cd/usr/local/redis
wget http://redis.googlecode.com/files/redis-2.4.2.tar.gz
Tar xzf redis-2.4.2.tar.gz
CD redis-2.4.2
Make
thinkphp Clear Cache/Delete all files under folder
Today did a thinkphp to clear the cache function, on the internet opened a little bit of a simpler way of writing but that is a thinkphp built-in class, I found a half-day did not find this class,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service