Don Don wrote:
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i need to
display data on a page containing e.g. " but will like it to be displayed as
"
htmlspecialchars or htmlentities or page character set ?
Cheers
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
a little confused with what you have to begin with.
Are you saying that in the text that you want to have displayed, it has "
instead of "
or is it that you have a quot " and want to run htmlspecialchars() or htmlentities() on it? and
then have it displayed as " and not "?
which is it?
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Twelfth Night, Act II, Scene V
by William Shakespeare
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php