Daffodil Computers Ltd.

Create your Own Website => HTML, PHP => Topic started by: bbasujon on January 22, 2012, 07:41:47 AM

Title: Remove HTML Tag from a PHP String
Post by: bbasujon on January 22, 2012, 07:41:47 AM
To remove all the HTML tags from your PHP string we can easily use strip_tags ($YourStrings) or preg_replace ('/<[^>]*>/', '', $YourStrings)