Rich Bitch Posted April 2, 2008 Report Posted April 2, 2008 $text = preg_replace("\n", "<br />", $text); kur man šajā izteiksmē ir kļūda?
andrisp Posted April 2, 2008 Report Posted April 2, 2008 http://www.regular-expressions.info/quickstart.html Bet vispār tev tur labi derēs vienkārši str_replace.
Rich Bitch Posted April 2, 2008 Author Report Posted April 2, 2008 bāc... nl2br() ievadu Text datubāzē, bet tur no <br /> ne miņas.
Vebers Posted April 2, 2008 Report Posted April 2, 2008 Tātad kaut ko nepareizi dari. Parādi skriptu..
Recommended Posts