PHP Basic Learning Notes (3)
Variable:
The meaning of a variable is a name that is used to denote a data--one that we define ourselves.
Definition of variable: var v1; var v2 = 2; VAR v3, V4, V5; var V6, v7=7, V8, v9= "abc";
Use of
PHP Novice Problem: First page Select all data, click on the condition after the condition select database data
You ask a question, I want to make a page, go in the first time load is all the database, and then click the menu, reload the original
Submit to avoid submitting multiple times, request button not available after submit
if (isset ($_post[' Go ')) && $_post[' go '] = = ' Go Next '){Click Submit to execute the code here. In order to avoid hand mistakenly click Multiple submit,
Application of time and date of PHP development
1, compare the size of two datesCompare the size of two dates, first by converting the date to a timestamp, and then comparing the timestamp.The sample code is as follows:
$time 1=date ("y-m-d
Phpcms Full Site Search Why not as many people do?
Online about phpcms A lot of full-text search, Baidu a big pile, but not a line, not to say that support Chinese or not, first say that support English bar
But no one can do, I wonder, these people
PHP uses GD library to draw and generate verification code pictures
First you have to determine if the php.ini setting has the GD extension function, test the following
Print_r (Gd_info ());
If there is a printout of the content as follows, then
There is wood in PHP to get the value of JS
Recently in the study Discuz, which modifies the code when you want to assign JS value to the Discuz global variables, there is a great God know how to do? Or the PHP method to get the value of JS can also
The web is not well learned, while watching the HTTP protocol can not?
Is that OK? I would like to know more about this area of knowledge.
------to solve the idea----------------------
Is that necessary? You're not a network communicator.
------to
PHP Curl Error "problem (2) in the chunked-encoded data" solution
作者:zhanhailiang 日期:2015-01-23
Local Environment:
系统版本:Microsoft Windows 6.1.7601PHP版本:PHP 5.3.29php_curl.dll扩展版本:7.35.0
A very strange problem encountered in Windows environment,
Ask in the IF statement! And empty is not the same;
$a =array (); $a = "; $a = "0"; $a =null; ...
if (empty ($a)) = = = if (! $a);
Recently see thinkphp Framework code, in the judgment statement, used a lot of empty () without!;
Ask: The
Rewrite the URL of WordPress under Linux
The current URL of WordPress is
Http://xxxxxxx/?p=123
I want to rewrite this URL into
http://xxxxxxx/about/
And do not want to use Worpress's own URL format option
should be used. htaccess rewrite it, the
After PHP imports Excel into MySQL database, how to make it appear in text form
After PHP imports Excel into MySQL database, how to make it appear in text form
Like in Excel, it's 9787509345030.
After importing the database, it becomes
WordPress two different messages in a row
Rt
Recently in the use of WordPress to do a post-mail function, a separate one is good, but connected to send two e-mails,
is error, error message
$r = Wp_mail ($receiver, $subject 1, $message 1, $header 1)
Top PHP programmers should have 5 of the most power
MySQL CapabilitiesThe application on development is based on several competencies embodied:(1) Understand: Know to connect to the database with PHP, to write some simple SQL, to build some simple
Newcomers to the job, ask for guidance
I was just a novice to work in PHP, found that there are many things in the work they do not know, and now find themselves insufficient places too much, while I want to look at the handbook, and the manual to
PHP read EML instances, PHP parsing eml, EML parsing into a Web page
PHP reads the EML instance, this instance can parse the exported eml file into the body, and can save the attachment to the server. Not much to say the direct code.
If you think
Zipmarket Digital Content/Material Trading website Source project
The Zipmarket program imitates from the Envato website, for the webmaster who wants to create the digital content/material trading platform, Zipmarket is a very unique and
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