Ok, for some reason this won't work, but I'm almost certain that I had this way working before on another site I was testing.
Here's the error code (has the query string included):
A fatal MySQL error occured.
Query: INSERT INTO edit_log SET what='Staff member profile ID: #2 was changed', who='1118', how='First Name Changed from Old to New : Last Name Changed from Man to User', when= CURDATE()
Error: (1064) 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 'when= CURDATE()' at line 1
I've tried typing the date myself (when='2007-01-04'), but I still get the error.
The when cell is set for DATE (default 0000-00-00).
Anybody have any idea?
Here's the error code (has the query string included):
A fatal MySQL error occured.
Query: INSERT INTO edit_log SET what='Staff member profile ID: #2 was changed', who='1118', how='First Name Changed from Old to New : Last Name Changed from Man to User', when= CURDATE()
Error: (1064) 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 'when= CURDATE()' at line 1
I've tried typing the date myself (when='2007-01-04'), but I still get the error.
The when cell is set for DATE (default 0000-00-00).
Anybody have any idea?