Re: PHP

From: Petr Wogurka (konference@wog.cz)
Date: 01. 06. 2001, 11:31 CEST


> > $text = NL2BR($text);
> $text = strtr($text, "<BR>", "\n\r")

Omlouvam se, ze se k tomu jeste vracim, ale az ted jsem
to po sobe precetl a vidim, ze jsem poradil totalni nesmysl :(
Spravne to ma samozrejme byt:
$text = str_replace("<BR>", "\r\n", $text);

Omlouvam se za nepresnost
Wog
http://tobik.wog.cz



This archive was generated by hypermail 2.1.2 : 04. 09. 2001, 07:25 CEST