well I'm trying to stick the current date back into a colum in a table in my database. the type is date/time
$DateEvent = mktime(0,0,0,date("m"),date("d"),date("Y"),-1);
$sql = "INSERT INTO Event(EventNo,EventUserID,EventType,EventPriority,EventDueDate,EventDesc,EventDate) VALUES ($HighestNo,'$user','$EventT','$EventP','$EventDue','$EventText',$DateEvent)";
this is the echo from my sql statement
INSERT INTO Event(EventNo,EventUserID,EventType,EventPriority,EventDueDate,EventDesc,EventDate) VALUES (5,'rbcboca','Hardware Issue','Normal','4/18/2003','Test ticket',1050379200)
this is the error
Warning: (null)(): Invoke() failed: Exception occurred. Source: Microsoft OLE DB Provider for ODBC Drivers Description: [Microsoft][ODBC Microsoft Access Driver]Numeric value out of range (null) in
C:\Inetpub\wwwroot\Mouse Tracks\Interface\index.php on line 239