Re: [PHP] How do I keep form inputs from being cleared - Please Help!

2002-02-05 Thread Miles Thompson


http://www.thickbook.com
choose  the tutorial for a form with custom error messages.

Miles Thompson

At 06:40 PM 2/5/2002 -0500, SpamSucks86 wrote:
>I have a registration form and if a user enters bad information and the
>php script generates an error, I want the user to be able to hit back
>and have his inputs still there. Most websites I've ever used do this,
>but for some reason, my form loses all its data when the back button is
>pushed. This doesn't seem like something unique to PHP, but I thought
>maybe you guys could shed some light. Maybe a header which instructs the
>browser to cache it? Btw, I plan on having the script reprint the form
>with the old values anyway, but for reference I'd really like to know
>because I haven't been able to figure it out. Thanks for any help! =)
>
>-Me


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] How do I keep form inputs from being cleared - Please Help!

2002-02-05 Thread SpamSucks86

I have a registration form and if a user enters bad information and the
php script generates an error, I want the user to be able to hit back
and have his inputs still there. Most websites I've ever used do this,
but for some reason, my form loses all its data when the back button is
pushed. This doesn't seem like something unique to PHP, but I thought
maybe you guys could shed some light. Maybe a header which instructs the
browser to cache it? Btw, I plan on having the script reprint the form
with the old values anyway, but for reference I'd really like to know
because I haven't been able to figure it out. Thanks for any help! =)
 
-Me