Author Topic: Remove HTML Tag from a PHP String  (Read 4020 times)

bbasujon

  • Administrator
  • VIP Member
  • *****
  • Posts: 1826
  • I want to show my performance at any where
    • View Profile
    • Higher Education
Remove HTML Tag from a PHP String
« 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)
Acquire the knowledge and share the knowledge so that knowing,learning then sharing - all are the collection