How to learn PHP from scratch.
1. The best basic knowledge to learn PHP:
1) HTML
2) CSS
3) JavaScript
Especially HTML, it is a necessary basic knowledge, and it also requires Understand the general principles of WWW.
Recommended learning materials:
"Head First HTML with CSS & XHTML"
Detailed introduction:
http://www.amazon.com/Head-First-HT...ie=UTF8&s= books
2. Knowledge of learning PHP:
1) Recommended books:
"Learning PHP and MySQL"
http://www.itpub.net/570744,1.html
Detailed introduction: http://www.amazon.com/Learning-PHP-...ie=UTF8&s=books
2) Go online to find out what the Apache application server is:
Official website - http ://httpd.apache.org
3) Understand what the database is about, especially the MySQL database that is very closely related to PHP.
ITPUB is a famous database forum
3. Development tools:
For beginners, it is recommended to just use an enhanced editor with syntax coloring and automatic indentation, such as EditPlus and UltraEdit. Search Google and you'll find a lot of related content.
4. Method:
Practice is very important. You can’t just read books without doing it. You must learn and practice at the same time, so that you can truly understand and master it.