Jump to content
php.lv forumi

* Komentāri


*jancis38*

Recommended Posts

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 by *jancis38*
Link to comment
Share on other sites

  • Replies 32
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic


×
×
  • Create New...