Page 1 of 1

preserving GET in links!

Posted: Tue Feb 19, 2008 7:32 pm
by benbur
This has been bugging me for ages... how would it be possible to include all set $_GET variables in hrefs from a page?

Example:
The user visits something.php?sort=a&page=3
They want to go to page four, ay? The link should be something.php?sort=a&page=4 ok that's easy enough, right?
but with a lot of GET variables that may or may not be set it can get pretty annoying... ten logic functions just to get a URL right...

Is there some way to say... handle all of that easily?

Re: preserving GET in links!

Posted: Tue Feb 19, 2008 7:44 pm
by Christopher