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 terms and syntax of the language.

I’ll begin by writing HTML forms and showing how you can use PHP to handle the submitted values. Afterward, I’ll cover conditionals and the remaining operators, arrays (another variable type), and one last language construct (loops).

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