Re: insert form data
| From: | 1LT John W. Holmes | Date: | Wed, 08 Jan 2003 20:45:33 +0000 |
| Subject: | Re: insert form data | ||
| References: | 1 2 3 4 5 6 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24669@lists.php.net to get a copy of this message | ||
Well change/set the ACTION attribute of your form, then, if that's where you
really want to go. The second page should check for
if(isset($submit))
and process the data. Or do it in one page and redirect with header()
(before _any_ output) after the processing is complete.
---John Holmes...
> Actually, I dont need these variables in the rest of the form, I just
> need to go to the next page...Like a hyperlink on the submit button
> maybe ???
>
> Seems like I've seen that...
>
> Mignon
>
>
> On Wed, 2003-01-08 at 14:12, 1LT John W. Holmes wrote:
> > > When I post to my next page in the survey in the form action, instead
of
> > > this page, the data doesnt go into the database.
> > >
> > > Does anyone know a way around this other than rewriting all the pages
> > > into one page?
> >
> > Use sessions or hidden form fields to transfer the data between pages.
> >
> > ---John Holmes...
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>