How do I use rawurlencode()? A snippet would extremely appreciated.
I read I should use it twice for plus signs(?) - I need help! Thanks.
Very strange stuff happens when I use GET to pass
a string like '+high +altitude'. Literally that's my
(a legitimate) test string in a Mysql Boolean Fulltext search.
Other non alplas are also causing strangeness. Not at first
from my user search form, but during pagination of the results,
as I GET the search string to further pages down the line to maintain
state the trouble starts. I think the literal '+' in the string gets
hosed by GET process.
key_word is +high +altitude for example:
echo "<a href=\"search_t est2.php?key_wo rd=$key_word&pa ge=" . ($page - 1)
.. "\">Previou s</a>";
Then:
$key_word = $_GET['key_word'];
$page = $_GET['page'];
Thanks,
Lee G.
I read I should use it twice for plus signs(?) - I need help! Thanks.
Very strange stuff happens when I use GET to pass
a string like '+high +altitude'. Literally that's my
(a legitimate) test string in a Mysql Boolean Fulltext search.
Other non alplas are also causing strangeness. Not at first
from my user search form, but during pagination of the results,
as I GET the search string to further pages down the line to maintain
state the trouble starts. I think the literal '+' in the string gets
hosed by GET process.
key_word is +high +altitude for example:
echo "<a href=\"search_t est2.php?key_wo rd=$key_word&pa ge=" . ($page - 1)
.. "\">Previou s</a>";
Then:
$key_word = $_GET['key_word'];
$page = $_GET['page'];
Thanks,
Lee G.
Comment