strip_tags

Example

 string strip_tags ( string $str [, string $allowable_tags ] ) 

Description

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

Return Values

Returns the stripped string.