Manuál PHP | ||
---|---|---|
Předcházející | Další |
strip_tags
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.
Předcházející | Domů | Další |
strcspn | Nahoru |