1. Overview
PHP is a programming language used primarily for web development. Many people learn PHP for Web development, although PHP can do a lot of things now, but it is still only the most widely used in web development.
About PHP Learning, I think you can learn from the following routes.
2. Learning Route Overview
First of all, learn the basic syntax of PHP, know how to interpret a line of PHP code;
Then, because it is used for web development, it is necessary to know how PHP and HTML interface, together with the development of Dynamic Web site, and then the dynamic site development will involve the front-end of the basic knowledge is CSS and JS, in which the Ajax in JS is particularly important;
Second, a Web site development can not be separated from the database, to know how PHP interacts with the database, the current Internet session of the popular relational database is MySQL, starting from MySQL, contact PHP and MySQL interactive way; Finally, learning a framework, using frames, I think that is standing on the shoulders of a relatively strong person, do some things, choose a framework, can reduce the difficulties encountered in learning, put in those difficulties, you can understand the whole development process a little learning and research. That's the way I think it's going to be easier to learn PHP. 3. Learning materials Brief introduction of PHP grammar learning, in fact, you can find a relatively new grammar book, to learn, of course, the process of learning to code practice, the basic grammar to practice more (at present, the first study here http://www.w3school.com.cn/php/ index.asp; HTML, you can refer to w3schoolhttp://www.w3school.com.cn/php/index.asp. Here is an example of basic HTML and PHP interaction. After mastering these examples, you can learn HTML on W3cschool, understand the contents of each label, CSS and Js,css and JS can also be http://www.w3school.com.cn/php/index.asp in the first understanding of the next; mysql,p HP and MySQL database interaction http://www.w3school.com.cn/php/php_mysql_intro.asp can be understood first, summary draft, not yet continued (to be continued.)
PHP Learning routes for reference only