See the URL functions at http://www.php.net/manual/en/ref.url.php IMHO, you'd need some encoding....
Arcadius "Ivan Carey" <[EMAIL PROTECTED]> wrote in message 006b01c24c2f$8d291950$0201a8c0@ivan">news:006b01c24c2f$8d291950$0201a8c0@ivan... Hello, I am sending variables via a link to another page eg. <a href=\"agencydet.php?provnum=$provservid\">$provservdesc</a> If the variable provnum contains text such as: hello & there Then only the word hello is passed on to agencydet.php. I have tried using htmlspecialchars and htmlentities but still I have the same problem. What I am trying to achieve is to be able to display hello & there on the agencydet.php page when it is shown in the browser. Thanks, Ivan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php