Non-Cache in forms?
| From: | eric dot coleman at zaireweb dot com | Date: | Sun, 24 Mar 2002 23:41:25 +0000 |
| Subject: | Non-Cache in forms? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89947@lists.php.net to get a copy of this message | ||
Alright,
When I submit a form, and shoot out an error, such as "Please fill in email address" and
then send them back to the form, the form seems to be blank...
Why? What is happening that the form isn't keeping the previously posted data?
My error function looks like so
function crapout($msg, $hidden_msg = FASE) {
echo($msg);
if($hidden_msg != "FALSE") {
echo('<!-- ' . $hidden_msg . ' -->');
}
exit;
}
Thanks,
Eric Coleman