I load up a url with a variable called category at the end.
function GoPrev() {
location="categories.php?Process=Prev&category=" + document.categories.category.value
The category is Food & Cooking
When I get to the next program it has %20's instead of spaces.
?Process=Prev&category=Food%20&%20Cooking
Now I want to put it back to normal in the pgm I get to. I have tried str_replace.
echo "<br> org category =" . str_replace("%20"," ",$category);
and several other functions but all I get is Food and not Food & Cooking.
Is there a function to fix the var received from a url?
Newby I know. TIA