strip_tags

(PHP 3>= 3.0.8, PHP 4 >= 4.0b2)

strip_tags -- Odstranit z °et∞zce HTML a PHP tagy

Popis

string strip_tags (string str [, string allowable_tags])

Tato funkce se sna╛φ odstranit z p°edanΘho °et∞zce v╣echny HTML a PHP tagy. 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.

Voliteln² druh² argument m∙╛ete pou╛φt k urΦenφ tag∙, kterΘ se nemajφ odstranit.

Poznßmka: Argument allowable_tags byl p°idßn v PHP 3.0.13, PHP 4 b3.