Jump to content

[SOLVED] Can anyone deduct a reason for this not playing ball?


madspof

Recommended Posts

I have this bit of code

$myFile = "$date.txt";
echo $myFile;
$fh = fopen($myFile, 'w') or die("can't open file");
fwrite($fh, $page);
fclose($fh);

and it will not write to the txt file and i cannot figure out why can anyone else see why ?

 

thanks b4 hand madspof x

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.