Before we learn PHP, we need to understand what PHP is. English full name php:php hypertext preprocessor, that is, PHP hypertext pre-processor. The PHP script executes on the server, so it is a server programming language.
PHP files can contain text, HTML, Javascript, PHP code, PHP code on the server side of execution, the results of the implementation of HTML sent to the browser side to show the reader.
PHP can do what, this is one of our most concerned about the problem, through understanding, I think PHP has a lot of advantages in website construction. Can be summed up in the following points:
- PHP can generate dynamic page content. PHP nested in HTML, through data processing to return the updated Web page;
- PHP can collect the data provided by the form to analyze and process the information submitted by the Web page;
- PHP can operate the database, the database to add, modify, delete and so on;
- PHP can operate on the server to create, open, write, read, and close files on the server.
PHP in the site construction advantages are very obvious, in the following days, rookie will work hard to learn PHP, and long-term update blog.
PHP Learning log (1)-php Introduction