It is assumed here that you are not a computer-related major, you already have basic knowledge of HTML and CSS, can independently create static web pages, and it is best to have basic programming knowledge. If not, you can First read the first 8 chapters of Tan Haoqiang's "C Programming" (Tsinghua University Press) (you really don't need to read the following chapters).
There are two choices for introductory books on PHP:
One is O'Reilly's Head First: PHP & MySQL (the Chinese version is published by China Electric Power Publishing House) I personally highly recommend this book. In fact, O'Reilly's Head First series of books are very good for getting started. They have a large number of examples, illustrations, and various forms of exercises, and they do not list a lot of keywords. The rules and rules will make you drowsy, but will surprise you: It turns out that programming can also be learned in this way! However, some students prefer more traditional teaching materials...
The second one is "PHP and MySQL "Web Development" (Machinery Industry Press), which is the book that some students call "the rubbish Bible of rubbish PHP language". In fact, I think it is not very good to insult other people's labor results in this way, and it does not show that you have any knowledge. How advanced.
Let’s get back to the point. You don’t need to read Chapter 6 and Chapter 7 of this book for the time being. You can also skip the third part, but you must not let go of the fourth and fifth parts. If If you encounter something you don’t understand (of course) you can look it up online.
After reading these two books, you can actually make a decent dynamic site. The only thing left is to be more exposed to actual needs and practice more.
If you need to understand object-oriented PHP, you can read "In-depth PHP, object-oriented, patterns and practices" (Turing Programming Series, People's Posts and Telecommunications Press). If you want a manual, you can check some work For solutions to common problems, you can buy a copy of "PHP Classic Examples", also by O'Reilly, and the Chinese version is published by China Electric Power Press.
More tutorials: "php tutorial"
The above is the detailed content of Want to learn php programming? Then you must read these books. For more information, please follow other related articles on the PHP Chinese website!