I want to pass a paramter with an & in it (such as "rock&roll"). I tried using htmlspecialchars() and htmlentities() and they seem to have no effect. I even tried encoding it as rock&roll, but it just gets converted to & within the address bar. then when I try to use the page in a script, it would look for the paramater "rock" and ignore the "&roll" part.
I would need to de-code it as well.
Thanks