Re: problem with using link variables
| From: | Arcadius A. | Date: | Sun, 25 Aug 2002 12:17:52 +0000 |
| Subject: | Re: problem with using link variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114045@lists.php.net to get a copy of this message | ||
See the URL functions at http://www.php.net/manual/en/ref.url.php
IMHO, you'd need some encoding....
Arcadius
"Ivan Carey" <icarey@bigpond.com> wrote in message
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