Hi all, Has anyone got a function or regexp floating around that will convert behave like htmlspecialchars() or htmlentities() (eg converting & to &, " to "e;, etc etc) BUT NOT DESTROY HTML TAGS?
Eg: "hello" said <a href="fred.php">Fred</a> & Judy should become: "hello" said <a href="fred.php">Fred & Judy NOT: "hello" said <a href="fred.php">Fred & Judy ???? I guess it's stripped down or limited version of htmlspecialchars() or htmlentities(). Justin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php