How do I remove HTML tags from a string?
<?php
$mystring = "I said <ignore me then!>you <b>are a little bit</b> whack!";
echo strip_tags($mystring);
?>
Which prints:
I said you are a little bit whack!
More forms PHP Questions
How do I check that a valid email address is entered?How can I check a value entered in a field on my form is a number?
How do I remove escape characters from data?
How can I access information sent through GET on a form?
How can I access information sent through POST on a form?