With a continuation of their previous article, WebReference has posted part two of their "How to Interact with Web Forms" series - an excerpt from the PHP Phrasebook (Sams).
They build on the previous code, showing how to:
- preselect items from a multiple select list,
- process image submit buttons
- checking the mandatory fields
- checking the values of select lists
They wrap it all up
with two handy concepts - how to write out your data to a form and send it off in email form to the location of your choosing and working with the files uploaded via a form.