PHP opening

PHP (foreign name: PHP: Hypertext Preprocessor, Chinese name: "Hypertext Preprocessor") is a powerful server-side scripting language for creating dynamic interactive sites.

PHP is universal and open source.

PHP syntax absorbs the characteristics of C language, Java and Perl, which is easy to learn and widely used. It is mainly suitable for the field of Web development.

PHP is free and widely used. At the same time, PHP is undoubtedly another efficient option for competitors like Microsoft ASP.

Compared with other programming languages, dynamic pages made with PHP embed the program into the HTML (an application under the standard universal markup language) document for execution, and the execution efficiency is higher than that of completely generating HTML tags. CGI is much higher; PHP can also execute compiled code. Compilation can achieve encryption and optimize code running, making the code run faster.

Let’s first look at the learning route for PHP beginners:

(1) Familiar with basic elements of web pages such as HTML/CSS/JS, you can complete the stage by yourself Make simple web pages and be relatively familiar with element attributes.

(2) Understand the concept and operating mechanism of dynamic language, and be familiar with basic PHP syntax.

(3) Learn how to combine PHP with HTML to complete a simple dynamic page.

(4) Get in touch with MySQL and start designing databases.

(5) Continue to consolidate PHP syntax, be familiar with most of the common PHP functions, understand object-oriented programming, MySQL optimization, and some templates and frameworks.

(6) Finally complete a fully functional dynamic site.

PHP Reference Manual

In the php Chinese website tutorial you will find a complete reference manual for all PHP functions:

Array Function

Calendar function

cURL function

Date function

Directory function

Error function

Filesystem function

Filter function

FTP function

HTTP function

LibXML function

Mail function

Math function

Misc Function

MySQLi Function

SimpleXML Function

String Function

XML Parser Function

Zip Function

Learn php, you may spend longer reading the manual than you spend looking at your wife

You must learn the following things:

Download the latest The manual

Update the manual frequently

Place the PHP manual where you can find it most easily. You can check the manual at any time when needed

Learn how to use the functions in the manual


Continuing Learning
||
<!DOCTYPE html> <html> <body> <?php echo "Hello World!" ; ?> </body> </html>
submitReset Code