code for remove html tags from data in php
code for remove html tags from data in php
Which function is used to remove HTML tags from data.
Re: code for remove html tags from data in php
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.
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 1 guest