Hello, I'm creating pagging for some data. For example, I have a page:
http://example.com/news.php?type=bla&smth=bla
There are I have a list of news with links to another pages. Link to the first page is:
http://example.com/news.php?type=bla&smth=bla&page=1
Here is script, which creates pages links:
print '<a href="?'.$_SERVER['QUERY_STRING'].'&page=1"><<</a>';
But after clicking to another pages the link URL is very large and it looks like:
http://example.com/news.php?type=bla&smth=bla&page=1&page=2&page=1&page=3
How can I change that?