hi,
I have a html page with several forms on it. As the user moves through, filling out fields the form submits and recalls the page, passing through some GET variables.
is there any way to make the page call itself (with the variables that had been previously passed to it), also adding on some new ones.
eg form1 submits fields var1 & var2
mypage.php?var1=1&var2=1
then some other form (form2) submits (adding a field var3)
mypage?var1=1&var2=1&var3=dog
currently I need to add hidden fields var1=$GET['var1'], var2=$GET['var2'] in form 2 while submitting to getenv('SCRIPT_NAME') to get this to work
is there an easier way?
or even is there a way to read all the passed variables (however many there might be, or whatever they might be) into an array?
thanks,
norpel