I have a problem and I need all your help.
I have added in Events > After record added script (insert a record into another table), this my script
global $conn;
$strSQLInsert = "INSERT INTO my_log (`status`,`starttime`,`burid`,`entryby`)
VALUES ('".$values["status"]."','".$values["datesubmitted"]."','"$values["ID"]."','".$values["name"]."')";
db_exec($strSQLInsert,$conn);
the problem is the ID is not copied in my_log table all other fields are copied and no error displayed in the page. using phprunner8.1