Demo For: How To Remove HTML Tags From String Using PHP – Examples
Hi, How are you?You should see the output "Hi, How are you?". The output without applying strip_tags appears to be the same. The only difference is that the h1 tags will be removed when strip_tags is applied & the rest of the content will be shown as is.