Automatically remove html tags from a string
Language:: PHP Type:: Back-end
On user-submitted forms, you may want to remove all unnecessary html tags. Doing so is easy using the strip_tags() function:
Source: http://phpbuilder.com/columns/Jason_Gilmore060210.php3?page=2