Nicolas Verhaeghe wrote:
Indeed but you specify that you reshow the form and then
redirect...
Actually, he said:
"If there are errors, then the form is reshown with their values populated."
His code from above that matches this statement is:
if (!$form_passes_validation)
In his example and explanation, the header() function only gets called
if there are no errors.
Hope that helps.
Chris
--
Chris Shiflett
Principal, OmniTI
http://omniti.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php