I am trying to insert a new record into my database with a simple query. I have echoed it within my code, and everything appears fine. Here is the code;
Code: Select all
$query2 = "INSERT INTO audithistory(id, postdate, title, username )
VALUES('$title', NOW(), '$asset deleted from the database', '$name')";
$result2 = mysql_query($query2);regards,
Mark