O'Reilly logo

PHP in Action: Objects, Design, Agility by Chris Shiflett, Marcus Baker, Dagfinn Reiersol

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required