Re: insert form data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux