*jancis38* Posted April 8, 2007 Author Report Share Posted April 8, 2007 (edited) es pat šitā ierakstiju: <?php $comment = $_POST['teksts']; $nick = $_POST['niks']; $file = "txt/jaunumi/komentari-1.txt"; $open = fopen($file, "a"); $write = fwrite($open, $nick."\r\n"."\r\n"."\r\n"."\r\n"."\r\n"); $write = fwrite($open, $comment."\r\n"."\r\n"."\r\n"."\r\n"."\r\n"."\r\n"); ?> vienalga, nekas nemainās, vis iet vienā rindiņā, vis tiek atdalīts tikai ar mazām atstarpēm! :/ bet iekšā *.txt visa ir atdalīs kā vajag! Edited April 8, 2007 by *jancis38* Link to comment Share on other sites More sharing options...
Stopp Posted April 8, 2007 Report Share Posted April 8, 2007 hint: nl2br Link to comment Share on other sites More sharing options...
*jancis38* Posted April 8, 2007 Author Report Share Posted April 8, 2007 ā! vis kārtibā! es izdairju šitā: . "<br />" un vis aizgāja! liels padlies visiem! :) Link to comment Share on other sites More sharing options...
Recommended Posts