My user request form (Page1) produces a list of data (Page2).
I want to place a button on Page2 that will enable to the user to return to Page1 with the data requests originally selected.
I can use $_Server['Query_String'] to get the string of parameters that were passed to call Page2.
This should probably work in an Href, but I can't get it to work in a button.
Two problems, The button wants to send a parameter for the button name (which I could ignore), and second, I can't get the Query_string added properly.
echo '<form method="GET" action="request.php" >';
echo '<button name="Z" value="0"'.$pagequery_string.'>Return</button>';
echo '</form>';






Bookmarks