Sure, its htmlentities(), combined (possibly) with nb2br()
http://www.php.net/manual/en/function.htmlentities.php
Marco
On Sun, 2002-11-17 at 17:34, Børge Strand wrote:
Hi all,
I'm cooking tothether a tiny php html editor right now, (textarea kind
of thing). To treat the text properly
I'm cooking tothether a tiny php html editor right now, (textarea kind
of thing). To treat the text properly I need to encode characters like
'', '', '', and friends into something that doesn't confuse the
browser.
Htmlentities() or htmlspecialchars()
By the way, do you think encoding and
2 matches
Mail list logo