code for remove html tags from data in php

It is for static page, dynamic page, website, SEO, performance and other web development discussion
Joshi jahanvi

code for remove html tags from data in php

Postby Joshi jahanvi » Thu Oct 30, 2014 2:57 pm

Which function is used to remove HTML tags from data.


sonall gajera

Re: code for remove html tags from data in php

Postby sonall gajera » Thu Jul 09, 2015 8:32 am

string strip_tags ( string $str [, string $allowable_tags ] )
This function tries to return a string with all NULL bytes, HTML and PHP tags stripped from a given str. It uses the same tag stripping state machine as the fgetss() function.


Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 2 guests