Re: HOWTO USE : htmlspecialchars

From: Date: Mon, 07 Jan 2002 14:45:56 +0000
Subject: Re: HOWTO USE : htmlspecialchars
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-79696@lists.php.net to get a copy of this message
Hi louie, > <?php htmlspecialchars($info); ?>"> htmlspecialchars() do not change the passed variable. it will _return_ the result. so you have to do like this: $info = htmlspecialchars($info); please read the manual before asking to the list. it's clearly stated there, and there's even an example on how to use this function. -- Jimmy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Leave loved ones with loving words, it may be the last time you see them

« previous php.general (#79696) next »