Hi folks, I have been working on a property listing search for a company for a while now and have hit a roadblock. I have searched the net up and down. A lot of Google results lead to this site, but I have never been able to get it to work.
Here's the setup-
The user submits search criteria via POST. The results php page pulls the $_POST array and displays the results with pagination of 20 results per page with links for Next/Previous.
Clicking on the pagination links loses the variables, whether I simply used $_POST or whether I coded, for instance, $_SESSION['county'] = $_POST['county']; at the top of the script. I, of course, am using session_start(); at the top of the scripts. I have tried all manner of responses regarding sessions,globals,php.ini, and anything else.
The pagination links uses a query string that refers to PHP_SELF and looks like
"http://localhost/advancedsearch.php?offset=21"
where the offset is the 2nd page of 20 results.
Does anyone have any ideas?