Is there a good way to keep consistency in the $_GET
For example if i have a url
http://www.example.com/index.php?Id=5&sort=new
And i want to now add a new $_GET field at the end of that so is there any way i can create a function that will keep the Id and sort and add my new var lim?
So the URL Now looks like: http://www.example.com/index.php?Id=5&sort=new&lim=100
maybe something like:
add_new_get('http://www.example.com', 'lim=100');
Im sure i can come up with a function but just wondering if someone has implemented such thing that they would like to share :D