Friday, October 23, 2009

htmlentities extended?? any function which excludes some tags??

Posted on 11:20 PM by programlover









hi guys

i want my visitor to be able to put <a> tag in their comment and no other html tags.. now i'm using htmlentities which is removing all the HTML tags.. now i want to know whether there is any function which will work as htmlentities but will take some tags as parameters to make exception for those tags...