Re: Displaying HTML characters in real format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 &quot?

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux