Hi,
Can anyone help with the below?
I get the following error..........
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2012 where sysID = '1'' at line 1
Basically I am checking a date in a table against a another value and updating the record accordingly.
I have the following code in befiore record added.....
global $conn;
$strUpdate = "update system_date set check_date=".$values['newdate']." where sysID = '1'";
db_exec($strUpdate,$conn);
Appreciate any help or advice...........