I need to convert some text from a database for presentation on screen... as per usual, characters like quotes and ampersands (&) are giving me grief. the obvious answer is to apply htmlspecialchars(), BUT this also converts all < and > into < and > signs, which destroys the html mark-up within the text.
Is there a non-tag equivalent of htmlspecialchars(), or do I need to build one?
TIA Justin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php