Mega Code Archive
Strip_tags() function removes all HTML and PHP tags from string, leaving only the text entities
Its syntax is: string strip_tags (string string [, string allowable_tags])
$user_input = "i just love PHP!";
$stripped_input = strip_tags($user_input);
print $stripped_input;
?>