Chapter 18. Form handling

18.1 Designing a solution using HTML_QuickForm 414
18.2 Implementing the solution 419
18.3 Summary 431

There was a system administrator at a university once who claimed that his job would be perfect if it weren’t for those pesky students. Except, obviously, the job wouldn’t exist if there were no students.

That’s what the real world is like. There are users, and they have to enter their personal data and all sorts of other information. Form handling is complex and tricky, but there’s no use in complaining about it.

Well, we could try blaming the HTTP protocol. From the point of view of a web programmer, the default behavior of an HTML form is inconvenient. The user enters some text into a form, clicks the submit button, ...

Get PHP in Action 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.