Hallo
ich habe folgendes Probelm: ICh weiß nciht, was an dem COde falsch ist, aber irgenwie funktioniert das mit dme fwrite befehle in der for schelife nicht...
<?php
$msg_file=file("test.txt");
$t[0] = 'ja';
$t[1] = 'ja';
$t[2] = 'ja';
for ($ = 0; $i <=3; $i++) {
$fp = fopen($msg_file, "a");
$fw = fwrite($fp, $t[$i]);
fclose($fp); }
?>
danke für eure Tipps!
philipp