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:[EMAIL PROTECTED]] Sent: Sunday, October 21, 2001 8:43 PM To: [EMAIL PROTECTED] 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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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:[EMAIL PROTECTED]] > Sent: Sunday, October 21, 2001 8:39 PM > To: [EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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:[EMAIL PROTECTED]] > > Sent: Sunday, October 21, 2001 8:29 PM > > To: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]