Click to See Complete Forum and Search --> : How do I forward info thru multiple pages?


pizzaman
04-24-2005, 11:23 AM
Hi,

I am making this form with multiple pages (actually same .php page, but different layout as the user clicks continue)

Ya, so I have the form

<form action="theoryform.php" method = "get">
[...]
<input type ="text" name = "foo[]" value="" />
[...]
<input name="submit" type = "submit" value = "Continue" /></form>

The data in $_GET['foo'] transfers to the next page correctly, but in the next page i like to add more info from user to foo[]. But when I click on continue again, the info from foo[] from first page no longer exists.

So my question is how do I forward foo[] across mutliple pages? Thanks!

-pizzaman

pti4ka
04-24-2005, 01:21 PM
if i understand then you want
or
php sessions
or
hidden field
or
any other temporary storage like file or database