2. Programming with PHP

Now that you have the fundamentals of the PHP scripting language down, it’s time to build on those basics and start truly programming. In this chapter you’ll begin creating more elaborate scripts while still learning some of the standard constructs, functions, and syntax of the language.

You’ll start by creating an HTML form and then learn how you can use PHP to handle the submitted values. From there, the chapter covers conditionals and the remaining operators (Chapter 1, “Introduction to PHP,” presented the assignment, concatenation, and mathematical operators), ...

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fifth 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.