ok, i have a search that i am paginating with 20 results per page.
i have a variable "firsttime" that specifies whether this is the first time the user has clicked the search, so i create the query using (if (firsttime) {create $querystring} else {$querystring = $_GET('querystring')})
so, it looks something like this:
- user types in words into search box and clicks submit
- search.php recognizes that variable firsttime is true and page=1, and create query string by breaking down user's search words.
- search.php displays results (max 20), and creates links to itself specifying 'page=2'or'page=3' etc.
here is the problem, how do i write those links so that i send the variable $querystring to search.php using an html link, BUT using the get method?
Any Suggestion would be helpful, thnx