Hi i want to search wheather the html tags r there in the string or not?? How can i do that? Thanks in advance
you could do a strip tags function on the string. then check the length the new string vs the original. If they are the same, then it didn't.
or if you search for a specific one:
if (strpos($string,"<br>")) echo "br found"; else echo "br not found";