Array
1. The subscript of an array is an integer value or a string type.
Eg1. The key of the indexed array is ___, and the key of the associative array is ___.
2. When the string is indexed, the quotation marks should be added. Constants or
If the transmission parameters are directly assigned, it will produce garbled!
Copy the Code code as follows:
Http_request.open ("POST", url,true);Http_request.setrequestheader (' Content-type ', ' application/x-www-form-urlencoded
Copy the Code code as follows:
mysql_connect ("localhost", "root", "1981427")//Connect to server on localhost, user name is root?>
Copy the Code code as follows:
@mysql_connect ("localhost", "root", "1981427")Or Die ("Database server
The role of Include_once and require_once is similar, that is, in the inclusion of the time to check whether the contained files have been included, if included, then do not execute, otherwise included. The reason I said this first is because if you
The front of the # is gone, but not loaded, look carefully, oh, there is a
Extension=php_pdo.dll
So, it's OK.
By the way, do not copy the DLL file under the Windows directory, in the environment variables to add the path of PHP in the line, so good
Disadvantage: The long and wide picture will be stretched deformation, can not be intelligent cutting, the need for intelligent cutting, please do your own research.
$config = Array ();
$config [' path '] = "./";
$config [' t_width '] =
I then installed Zend Studio again to overwrite the original directory, but I still couldn't open it.
I think that coverage may not solve the problem, so I put Zend studio to the cruel removal, and then loaded again.
The result is still unable to
PHP's commonly used numeric judgment function
Judging arrays
$colors = Array ("Red", "Blue", "green");
if (Is_array ($colors))
{
Print ("Colors is an array". "
");
}
Double Precision number judgment
$Temperature = 15.23;
if (is_double
1,php Connection Database
$dbhost = ' localhost ';
$dbuser = ' root '; Your MySQL user name
$dbpass = ' 123456 '; Your MySQL password
$dbname = ' data '; Your MySQL library name
Connecting to a local database
$GLOBALS ["conn"] = mysql_connect
It is based on a subset of JavaScript programming Language, Standard ECMA-262 3rd Edition-december 1999
JSON mainly uses the paired {} to wrap each object (object), using the paired [] to wrap each array,
Use the paired "" to wrap the strings, use
1. Import the SQL file exported from MySQL5 into MYSQL5.
2, with mysqldump-uroot-p1234--opt--compatible=mysql40-a-re:\localhost.sql
The--compatible=name parameters are described below:
--compatible=name change the dump to being compatible with a
I summed up some fart experience
1. After the Ajax post data to the background page, and then to reconnect the database, do not think that the previous session is connected to the
2. In order to deal with the problem of return garbled, I added the
A regular expression defines a rule for a string. The simplest regular expression does not contain any reserved words. For example, the regular expression hello only matches the string "Hello".
Regular expressions use some special structure, so they
Arithmetic operators
Operator name Result
$a + $b addition $a and $b and
$a-the difference between $b subtraction $a and $b
$a * $b multiplication $a and the product of $b
$a/$b division $a divided by the quotient of the $b
$a% $b modulo $a divided
Obviously this is a problem that all friends who use MySQL will encounter.
Recall the original MySQL GUI tool that was mentioned in configuring the environment, yes, that's it, you can find it in http://www.mysql.com. Because Sunec is only a program
Phing-a project building system
Phing is an Apache ANT-based project building system. Its name is an acronym for a clumsy statement-phing is not a GNU make. Phing can do anything traditional build systems like GNU make can do without a steep
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