handle form page is not storing the session varibles
Posted on 2011-09-29
I have two pages search.php and searchresults.php - searchresults.php handles the form sent on search.php
I have a few functions on the searchresults.php - I have a search box that highlights text that matches the word searched for. The second function was created to break up the data being displayed into pages (ie previous next ...)
the problem I am having is that when the form is sent searchresults.php displays correctly at first but as soon as a word is searched for in the search box the page refreshes and looses the initial vaules sent from the form. This happens as well when I select ta page number.
I tried to incorporate session variables for all form variables on the searchresults page but this did not solve the problem.
It would be great if some one could help!
Thanks so much,