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!
Comment on this Question and Answer >>>
ASK A QUESTION
More forms PHP Questions
1.want to know simple logic and procedure of FORM VALIDATION? 2.How to check Login and password in PHP?How can I check a value entered in a field on my form is a number?
How do I check that a valid email address is entered?
How do you email the contents of a form to someone?
I am having a form. Here, i am submitting the form using java script as its necessary. If the form method is get, i am able to get in redirection page and can get the hidden values in the form. But if the form method is post, i am not able to get those hi
