will this work?
because when i click next, $_POST['textbox'] will not have been submitted to the next page so isnt it like saying
$_SESSION['ip'] = "/*nothing*/";
this is because when i click next to view the next page of results it loads the same file e.g.
search.php displays the first page of results based on the search criteria entered into the search box, on this initial search.php page i can click next if there are more than a certain number of results, my problem is that the search criteria isnt remembered because it reloads the search page which will store the $_POST['textbox'] value and sionce it reloads and theres nothing to post the value is empty when the page reloads.
since the $_POST['textbox'] field will be empty when i click next to view the next page of the search results.
so I thought that maybe I need to somehow get the value from $_POST['textbox'] into a $_GET value so that when i choose "next" on the first page of results it passes the search criteria onto the next page and so on and on....
I am not sure, any ideas?
PS- I was always throwing the idea of a session variale to store search criteria from the text box, not sure though thats why I am here .
[edited by: bysonary at 9:20 am (utc) on May 31, 2007]