$a = ' 212345678912000005 ';
$b = ' 212345678912000001 ';
Var_dump ($a = = $b);
The output of this code is bool (true), which means that the judgment will conclude that the two are equal. Similar attributes are false or not set in the 3rd
?
$a = "The value of the variable will be brought into";
Echo
Application of Echo Although echo "..." Can break the break, but if it appears ", it still needs to be escaped
Processing. Need to write:
echo "
Aaaa\ "Uiuie\"
...
";
Using echo Writing
Session.save_path bug in Session PHP 4.0.0
Author
I'm here to report a bug in a 4.0.0 version I found, limited to the Windows version. That is: Under version 4.0.0,
Session.save_path If you use an absolute directory, that is, if you add a letter,
Paging | show
PHP article title in a lot of cases how to page display it?
The following according to my experience of the main code open, I hope to be a novice user help.
$page _size=10; (Number of display per page)
$sql = ' SELECT count (*) as
The name of the PHP variable used to detect whether the specified parameter is legitimate. Two-byte characters such as kanji cannot appear in variable names.
/**
* is the legal variable name
* Specify the legal variable name: letter or underscore
Today found in PHP, if you want to record fatal error, you can use a good function,Called Register_shutdown_function, summary as follows:Register_shutdown_function allows us to set a second function that can be invoked when execution is closed. That
Object-oriented Features in PHP support C + +:: operational symbol!!!
Lone wolf: this:: In pear, but often appear, the first time I see the time I was confused:)
This characteristic document has no explanation, but it has very good use value.
To
FCKeditor is a WYSIWYG web editor that is often used as a background editor for publishing information. When you want to publish a lot of content is very long, you need to consider the front page of the paging effect, this article will use jquery,
Do look at the right looks like forgot to write this, hehe, oh by the way write again
Many friends use DAT files to store small volumes of data, build text data table use, many and I belong to the bird class friend although to how to append,
excel| original This is for those who only like to simply deal with Excel friends
Define an Excel file
$workbook = "C:/My Documents/test.xls";
$sheet = "Sheet1";
Generate a COM object $ex
$ex = new COM ("Excel.Sheet") or Die ("Not even!!! ");
Learning Purpose: Make a paging displayThe key is to use the limit in the SQL statement to qualify the displayed records from several to several. We need a variable $page that records the current page and a total number of records $numFor $page if
Learning Purpose: Learn the use of Session
The role of a lot of sessions, the most use is the site within the page variable transfer. At the beginning of the page we want to session_start ();
Then you can use the session variable, for example, to
Learning Purpose: Learn to add delete modify data
mysql_query ($exec);
Single This statement can perform all the operations, the difference is $exec this SQL statement
Add: $exec = INSERT INTO tablename (ITEM1,ITEM2) VALUES ('. $_post[' item1 '].
If your server doesn't allow you to read his log files, then you have to stop and analyze your visitors? Do your own log file!
The only thing you need to do is to use PHP to calculate the actual number of clicks, no errors, no errors like ' 304 not
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