RE: [PHP] Submit

From: Date: Mon, 22 Oct 2001 01:16:51 +0000
Subject: RE: [PHP] Submit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71779@lists.php.net to get a copy of this message
you could just declare one multidimensional array as a session var, then carry that around....that's easiest way i've found..... jack -----Original Message----- From: Chip Landwehr [mailto:omegachip2000@yahoo.com] Sent: Sunday, October 21, 2001 8:43 PM To: php-general@lists.php.net Subject: Re: [PHP] Submit lol NP--actually I am using sessions-Will I have to declare each form variable as a session variable to do this? "Jack Dempsey" <dempsejn@georgetown.edu> wrote in message news:NEBBKBGAMLPMIDAJEALPEEODCHAA.dempsejn@georgetown.edu... > sorry chip, i'm so used to using sessions, i just kind of assumed you would > :-) > sessions will carry the data around.....if you can't/won't use them, you > could use curl to post the values along, but sessions are much more elegant > for this kind of thing > > my $.02 > jack > > -----Original Message----- > From: Chip Landwehr [mailto:omegachip2000@yahoo.com] > Sent: Sunday, October 21, 2001 8:39 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Submit > > > 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 > > > > > > > > -- > 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 > > -- 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 (#71779) next »