View Full Version : PHP Error Log Thingy

03-15-2010, 08:21 PM
How would I go about doing this?



$error="Error 1";
$error="Error 2";

$error="Error 1";
$error="Error 2";

What it should do is search for the current date in the file, if the date is found then add the new error under that date.

If the date is not found then it should create the new date and add the error. So a while loop would search through the file for the $date variable matching the current one.

How can I do this? Example code (breif) ? Please. Lol.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum