> I need insert some variable ito log.txt file but every item (variable) must > be on other line > how to do this ?
If I am understanding your question correctly, you need to add a newline character (\n) at then end every line. Like so: $fp1 = Fopen("D:\\log.txt","a+"); fwrite($fp1,"$start\n"); fwrite($fp1,"$array[0]\n"); fwrite($fp1,"$array[1]\n"); ..... fwrite($fp1,$end); Fclose($fp1); HTH -jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php