I am putting certin code within comment tags, so it isn't seen...
----- Original Message ----- From: "David Robley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 25, 2002 11:00 PM Subject: Re: [PHP] Re: Non-Cache in forms? > On 25 Mar 2002 at 0:29, [EMAIL PROTECTED] wrote: > > > yes, but i send them back to the previous page > > and it shows the form... > > > > What would be a way around this? > > ----- Original Message ----- > > From: "David Robley" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, March 24, 2002 11:39 PM > > Subject: [PHP] Re: Non-Cache in forms? > > > > > > > In article <001801c1d38d$6b016eb0$0201a8c0@zaireweb>, > > > [EMAIL PROTECTED] 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 > > -- > PHP General Mailing List > > (http://www.php.net/) > To unsubscribe, visit: > > http://www.php.net/unsub.php > > > > > Please respond to the list as well, as you are more likely to get a timely and useful > response that way. > > I notice that your error message is in HTML comment tags? Without seeing more of your > code, it's a bit hard to tell. But you might try doing a view source and see if there is > anything in the source that might assist. Otherwise, post more relevant parts of your code > to the list. > > > -- > David Robley > Temporary Kiwi! > Quod subigo farinam > > "I want this statue to look like the Venus de Milo," said Tom disarmingly. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php