phpbar.de logo

Mailinglisten-Archive

[php] =?iso-8859-1?Q?RE:_=5Bphp=5D_Re:_=5Bphp=5D_ä_-=3E_=E4?=

[php] RE: [php] Re: [php] ä -> ä

Stefan Scherf php_(at)_phpcenter.de
Sun, 28 Oct 2001 10:07:35 +0100


> Joerg Behrens wrote:
> Das sollte mit
> http://www.php.net/manual/en/function.get-html-translation-table.p
> hp gehen.

Danke.

---
function html2sc($text) {
	
	$trans = array_flip(get_html_translation_table(HTML_ENTITIES));
	$text_new = strtr($text, $trans);
	return $text_new;
}
---

Gruss

Stefan


php::bar PHP Wiki   -   Listenarchive