Re: Multipage Form
| From: | Kondwani Spike Mkandawire | Date: | Thu, 08 Aug 2002 18:27:12 +0000 |
| Subject: | Re: Multipage Form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111708@lists.php.net to get a copy of this message | ||
"Ashley M. Kirchner" <ashley@pcraft.com> wrote in message
news:3D52B2FF.D0A53D37@pcraft.com...
>
> What's the best way to have form values from one page be collected,
stored
> and kept while page 2...n-th is displayed (and filled) before actually
being
> submitted to another script for processing? Basically I'm creating a
multipage
> form, and I need those values from previous pages to be stored somewhere
as the
> next page is displayed. Then those new values added to the list and the
next
> page gets displayed, etc., etc. At the end, I need to grab all those
variable
> & value combinations and pass the whole shebang to a processing script.
>
> --
I am at a bit of a loss here, why don't you just store them as hidden
variables...
Since its a multiplepage form you send the form to itself...
echo "<input type = hidden name = \"var1\" value = \"$var1\">";
...
(Discussed in one of the above threads on forms)...
This may not be what you are looking for, if so my appologies...
Spike...