(Need a letter at least)"; } $sticky[email] = htmlspecialchars(stripslashes($_POST[email])); if (! ereg('^[[:graph:]]+@[[:graph:]]+$',$_POST[email])) { $error = 1; $msgemm = "(Should be summat@summat)"; } # Decide what to do based on any inputs and error flags if (! $error and $_POST[whatdo]) { $response .= "YOUR ACTION AND ANSWERS ARE DONE NOW

"; } if ($error and $_POST[whatdo]) { $response .= "Please correct your entry
"; } else { $response .= "Please enter some new information
"; $msgyou = $msgemm = ""; $sticky = array(); } # Produce a table of all the values entered onto the form $tabr = ""; foreach (array_keys($_POST) as $kname) { $tabr .= ""; } $tabr .= "
$kname". htmlspecialchars(stripslashes($_POST[$kname])). "
"; # Produce the page ?> Sticky form demo

About the application


Your name:
Your email address:

Data entered was

Copyright, etc