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