NYCPHP Meetup

NYPHP.org

[nycphp-talk] doubt on html entities

csnyder chsnyder at gmail.com
Mon Mar 26 08:52:55 EDT 2007


On 3/26/07, Vidya Ranga Rajan <rangarajan.vidya at gmail.com> wrote:
> hi all,
> i am using tinymce as RTE. now when i submit this form with some right
> aligned text i am getting some html entities added. now i want to remove
> these html entities preserving the html tags. only &quot must be removed.
> how can i acieve this.
>

Would this work?

$html = str_replace( '&quot;', '"', $html );

If not, please restate the question, as it sounds like all you want to
do is decode &quot;, which is a little strange. An example would be a
good idea.

-- 
Chris Snyder
http://chxo.com/



More information about the talk mailing list