CHAPTER 3

image

How to Write PHP Scripts

If you run screaming at the sight of code, this is the chapter you’ll enjoy the least, but it’s an important one that I’ve tried to make as user friendly as possible. The chapter is in two parts: the first section offers a quick overview of how PHP works and gives you the basic rules; the second section goes into more detail.

You can read just the first section and come back to the more detailed parts later, or you can read the chapter straight through. However, don’t attempt to memorize everything at one sitting. The best way to learn is by doing. Coming back to the second part of the chapter for a little information ...

Get PHP Solutions: Dynamic Web Design Made Easy, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.