In Chapter 9, I showed you how to build a feedback form and validate the input on the client side with Spry validation widgets. In this chapter, we’ll take the process to its next stage by validating the data on the server side with PHP. If the data is OK, we’ll send the contents by email and display an acknowledgment message. If there’s a problem with any of the data, we’ll redisplay it in the form with messages prompting the user to correct any errors or omissions. Figure 11-1 shows the flow of events.


Conditional Statement Post Array Radio Button Require Field Curly Brace 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© David Powers 2009

Personalised recommendations