Hi, can somebody please help. I am trying to insert into an access db using the following sql statement
$rs = $conn->Execute("Insert into commentTable(topic, comment, user, date) values('$topic', '$comment', '$user', NOW())");
but the line is giving a parser error. Now I have debug it down and found out that is the date part that is giving the error, but I can't seem to know why it is giving this error.
$rs = $conn->Execute("Insert Into commentTable(date) Values (Now())");
that dont work neither.
Please any suggestions???
$rs = $conn->Execute("Insert into commentTable(topic, comment, user, date) values('$topic', '$comment', '$user', NOW())");
but the line is giving a parser error. Now I have debug it down and found out that is the date part that is giving the error, but I can't seem to know why it is giving this error.
$rs = $conn->Execute("Insert Into commentTable(date) Values (Now())");
that dont work neither.
Please any suggestions???