Let’s say my current URL page is
http://domain.com/listing.php?term=updated&page=7&more=new-user
In this page have a link to users.php looks like below.
<a href="http://domain.com/users.php?uid=10&term=updated&page=7&more=new-user">More</a>
On page users.php have a back link to listing.php
<a href="http://domain.com/listing.php?term=updated&page=7&more=new-user">Back</a>
The question is :-
How do I grab all variables such term page more etc on users.php to make sure when user click the back link will go to previous page?
One simple solution would be to use JavaScript: