Re: Submit

From: Date: Mon, 22 Oct 2001 00:38:33 +0000
Subject: Re: Submit
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-71775@lists.php.net to get a copy of this message
But won't using a header kill all the form data? Thought you had to use post for that? "Jack Dempsey" <dempsejn@georgetown.edu> wrote in message news:NEBBKBGAMLPMIDAJEALPMEOCCHAA.dempsejn@georgetown.edu... > 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:omegachip2000@yahoo.com] > Sent: Sunday, October 21, 2001 8:29 PM > To: php-general@lists.php.net > 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#71775) next »