| It's as easy as... :-) | $day = getdate(time()); | $f_name = create table name on time basis; | $fd = fopen($f_name, "a"); // open file | fwrite($fd, "string you want tu put (add) into | file"); // write to file all your data | fclose($fd); // close the file | That's all folks :-)
it's even easier: $logFile="c\\mylogdirectory\\" .date("Ymd").".log"; error_log ("what i want to write", 3, $logFile); Christoph -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php