Re: encode $searchenquiry
| From: | John Taylor-Johnston | Date: | Wed, 07 Jul 2004 18:23:46 +0000 |
| Subject: | Re: encode $searchenquiry | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189895@lists.php.net to get a copy of this message | ||
> > Or should I URLencode $searchenquiry or ... how should I approach this?
> Hi John,
> you are looking for htmlentities():
> http://de3.php.net/htmlentities
> Regards, Torsten Roehr
Torsten,
Thanks. I think I'm going to start with htmlspecialchars().
htmlentities() might be over kill?
Great :)
John
--
John Taylor-Johnston
-----------------------------------------------------------------------------
"If it's not open-source, it's Murphy's Law."
' ' ' Collège de Sherbrooke:
ô¿ô http://www.collegesherbrooke.qc.ca/languesmodernes/
- Université de Sherbrooke:
http://compcanlit.ca/
819-569-2064