Anyone have any idea what this means???
Error Message {
Fatal error: Cannot redeclare addlogentry() (previously declared in C:\www\AndesaNet\log_functions.inc:3) in C:\www\AndesaNet\log_functions.inc on line 3
}
This is the sole function I have in the include file I reference to do this work:
<?PHP
Function AddLogEntry( $entry ) {
include('session_info.php');
$userId = $_SESSION[userId];
if ( empty( $userId ) ) {
$userId = "No User Info";
}
$fp = fopen( "tac_web_log.txt", "a" );
$today = date( "Y-m-d" );
$logEntry = $today . " " . $userId . " " . $entry . "\n";
fwrite( $fp, $logEntry );
fclose( $fp );
return;
}
?>
Thanks in advance for your help.
Andesa๐ ๐ ๐