Page 2 of 2

Posted: Mon Feb 28, 2005 10:12 pm
by Jim_Bo
Hi,

Not saying your not clear :wink:

Im saying I have tried a few means of getting it to work .. with no luck .. So I am unclear in what to do exactly ..


Thanks

Posted: Mon Feb 28, 2005 10:27 pm
by feyd
I would imagine sending it in the url as 'search' would be a good way.. since you already have 'page' used for the page number to go to. When you check for $_POST['search'] if that is empty, look for $_GET['search'] then.. if that is empty then display all results.. I'd suggest using rawurlencode() on the variable when adding it to the url, just in case there's stuff that shouldn't be unescaped in it.. :)