Form input doesn't go further than 1st page in pagination
Discuss Form input doesn't go further than 1st page in pagination in the Scripts forum on Dev Shed. Form input doesn't go further than 1st page in pagination Scripts forum discussing topics including building, optimization, and implementation. Discuss which scripting language is best suited to your needs.
Posts: 51
Time spent in forums: 14 h 54 m 56 sec
Reputation Power: 3
Form input doesn't go further than 1st page in pagination
I'm having a problem with paginating a search function: the first page is displayed perfectly but all the other pages are empty and state that I haven't entered anything in the form. I figured that the form input isn't transported to the second or third page, etc.
So how would I tackle this best? Should I put a script to all the links to other resultpages that repost the input through a hidden form or what would you suggest? How would such a link look like?
<a ???>...</a>
I defined my search term as a var like this:
$search = mysql_real_escape_string($_POST["search"]);