CHAPTER 3

image

Form Management

In Chapter 2, we built a dynamic, personal portfolio site. In the process, you saw how to encode URL variables with <a> elements and how to access such URL variables using the $_GET superglobal. Passing data is what separates dynamic web pages from static ones. By customizing an experience based on the user’s choices, you’re able to add an entirely new level of value to a web site.

Now that you have seen a little PHP and written a basic dynamic site, you’re ready to go deeper into URL variables. HTML <form> elements are commonly used to create interfaces that allow users to interact with your dynamic site. You have to ...

Get PHP for Absolute Beginners now with O’Reilly online learning.

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