strip_tags

PHP -> Funkcie -> Funkcie pre prácu s reťazcami PHP -> strip_tags

Syntax

string strip_tags(string str);

Popis

Príkaz jazyka PHP
strip_tags - Strip HTML and PHP tags from a string

This function tries to strip all HTML and PHP tags from the given string. It errors on the side of caution in case of incomplete or bogus tags. It uses the same tag stripping state machine as the fgetss function.