query on 2 dates
Posted: Tue Mar 01, 2005 1:33 am
i have a query here:
when i tried to insert something, i generated a mysql error
thanks
Code: Select all
$query = "INSERT INTO posts(userID, title, accomplishment, issue, recommendation, date, update)
VALUES('$id','$t','$a','$i','$r', NOW(), NOW())";how can i solve this?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 'update) VALUES('1','first report','some accomplishment','s
thanks