Re: Non-Cache in forms?

From: Date: Mon, 25 Mar 2002 04:39:40 +0000
Subject: Re: Non-Cache in forms?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89973@lists.php.net to get a copy of this message
In article <001801c1d38d$6b016eb0$0201a8c0@zaireweb>, eric.coleman@zaireweb.com says... > 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 > You are aware that exit halts execution of the script? -- David Robley Temporary Kiwi! Quod subigo farinam

« previous php.general (#89973) next »