is there a way of using the GET method to send variables via URL from a selection list, but keeping the current variables in the URL intact???
Because I have a selection list and I used to select one of those to bring up a new league table using the POST method, but because I have pagination when I click on the links to go to the next page and so on, it refreshes and it loses the POST from the Selection and just shows the league table again as the default selection in the list and not the one that I selected originally. So how would I go about using the GET method for this, but so I can keep the variables currently set in the URL aswel. As when I try to use the GET method it removes the other variables in the URL and only sends the variable from the selection list.
echo "<form method=\"POST\" action=\"\">
Rankings after the<SELECT NAME=\"rankingsfrom\">$options1</SELECT>
<input type=\"submit\" value=\"Go\"/></form>";
You can have hidden type inputs in the same form. If you want to keep page number, you can retrieve it and put it in something like:
Then when you post it, you can retrieve the page number with $_POST[‘pageNumber’]