"); $test[0]=$test[0]+1; print($test[0]); print(""); $countinc = fopen("count.txt", 'w'); $testmsg="testing"; $newline="\n"; fwrite($countinc, $test[0]); fwrite($countinc, $newline); fwrite($countinc, $testmsg); fclose($countinc) ?>