lizard Posted October 11, 2007 Report Share Posted October 11, 2007 Sveiki, Kā var panākt kad textare ievadot tekstu, kursh satur "enter" tekstu jauna rinda, lai tas pectam normali izvaditos ara, itka jalieto komanda nl2br, bet man nezkapec nesanak, sen sen es kko tadu taisiju bet nu tagad nesanak atcereties kas un ka tur bija.. Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2007 Report Share Posted October 11, 2007 Tad kaut ko nepareizi dari laikam. Skaidri zini, ka nl2br() izmanto ? Outputā ir breiki ? Pirms padošanas funkcijai, tekstā vispār ir ņūlaini ? Varbūt tev tur izstripojas pie pievienošanas. Link to comment Share on other sites More sharing options...
lizard Posted October 11, 2007 Author Report Share Posted October 11, 2007 jap tev bija taisniba par stripslashes :) defineta funkcija kas pastrada tekstu biju iekljavis, un aizmirsu par to, paldies. Link to comment Share on other sites More sharing options...
andrisp Posted October 11, 2007 Report Share Posted October 11, 2007 Nu stripslashes jau it kā new lines neietekmē... Link to comment Share on other sites More sharing options...
Grey_Wolf Posted October 12, 2007 Report Share Posted October 12, 2007 vel ir variants izvadiit tekstu starp HTML tagiem <PRE> </PRE> tad tiks njemts veraa parnesana jaunaa rindaa un Visas atstarpes (nevis tikai 1) ... Link to comment Share on other sites More sharing options...
Recommended Posts