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?
preserving GET in links!
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: preserving GET in links!
(#10850)