|
Posted by enko on 11/18/82 11:41
There are a few ways to do it, but if you aren't displaying the results
on the next page, I would just do something like:
1. Rename the form variables to start with something like "in_"
(something parseable, but unique, i.e. "in_username", "in_checkbox",
etc.)
2. On page 2 create a loop inside the form that looks for the "in_"
part of the element name and creates hidden variables for each one.
while(list($key,$val)=each($_POST))
{
if(substr($key,0,3) == 'in_')
{
echo '<input type="hidden" name="in_' . substr($key,3)
.. '" value="' . $val . '">';
}
}
3. Continue prefixing each of the form elements that you want to pass
and including the code on each consecutive page.
Navigation:
[Reply to this message]
|