If your strings have any html code, you can easily remove using following code.
Using regular expression:
Using regular expression:
<?php /* Online PHP Examples with Source Code website: http://4evertutorials.blogspot.in/ */ $string = preg_replace("/<.*?>/", "", $string_contain_html_code); ?>
0 comments:
Post a Comment