PHP Manußl | ||
---|---|---|
P°edchßzejφcφ | Dal╣φ |
(PHP 4 >= 4.0b4)
get_html_translation_table -- Vrßtit p°ekladovou tabulku pou╛φvanou v htmlspecialchars() a htmlentities()get_html_translation_table() vracφ p°ekladovou tabulku, kterß se intern∞ pou╛φvß ve funkcφch htmlspecialchars() a htmlentities(). Dv∞ novΘ konstanty (HTML_ENTITIES, HTML_SPECIALCHARS) vßm umo╛≥ujφ urΦit, kterou tabulku chcete. A stejn∞ jako u funkcφ htmlspecialchars() a htmlentities() m∙╛ete p°φpadn∞ urΦit quote_style se kter²m pracujete. Defaultnφ hodnota je ENT_COMPAT m≤d. Viz popis t∞chto m≤d∙ u htmlspecialchars().
Skv∞lΘ je, ╛e pomocφ array_flip() m∙╛ete zm∞nit sm∞r p°ekladu.
Obsahem $original je: "Hallo & <Frau> & KrΣmer".Poznßmka: Tato funkce byla p°idßna v PHP 4.0.
Viz takΘ: htmlspecialchars(), htmlentities(), strtr() a array_flip().
P°edchßzejφcφ | Dom∙ | Dal╣φ |
explode | Nahoru | get_meta_tags |