![]() |
|
|
+ Search |
![]()
|
May 21st, 2003 08:29
James Prestwood, Stuart Hamilton,
$writedata = "*VARS TO BE WRITTEN*";
$datafile = fopen("*FILE TO WRITE TO*", "w");
fwrite($datafile, $writedata);
fclose($datafile);
just put the correct info where the *...* are and if you want to append
to a file rather than overwrite it change $datafile = fopen("*FILE TO
WRITE TO*", "w"); to $datafile = fopen("*FILE TO WRITE TO*", "a");