Chapter 23. PHP


Conversion for me was not a Damascus Road experience. I slowly moved into an intellectual acceptance of what my intuition had always known.

 --Madeleine L’Engle

Be careful when reading health books; you may die of a misprint.

 --Mark Twain

Reckoners without their host must reckon twice.

 --John Heywood

There was a door to which I found no key; There was the veil through which I might not see.

 --Omar Khayyam


In this chapter you will learn:

  • To manipulate data of various types.

  • To use operators, arrays and control statements.

  • To use regular expressions to search for patterns.

  • To construct programs that process form data.

  • To store data on the client using cookies.

  • To create programs that interact with MySQL databases.


Get Internet & World Wide Web: How to Program, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.