sure, have to states for your script, one is the normal blank form, the
second is the check.
in your check, validate the data. if its not good, print the form out again
with those values already filled in if they apply.
if it is good, redirect to a new page using header(); http://php.net/header
be careful not to output any before you make this header call.....

jack

-----Original Message-----
From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 8:29 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Submit


I got a form (form.php) that recalls itself when you hit submit to verify
all the fields.  If all the fields are good, I need it to automatically post
to a new page.  Anyway to do this?




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to