i have table "EVENTS" i am want make every table when add new record inserting New add in event records am try this code but not work
$sInsertSql = ew_Execute("INSERT INTO events (Tag, user, Description, table, key, Procedure_Type, Date, Script) VALUES ('0', '"CurrentUserID()"', '"ADD NEW RECORDS"','".$rsnew['table']."', '" .$rsnew['AutoNumber']."', '"1"', '"ew_CurrentDateTime()"', '".$rsnew['Script']."')");
$GLOBALS["conn"]->Execute($sInsertSql);
thank you