Hello again.
Once I get more of a hang of this stuff, I probably wont have as many silly questions. So, here we go:
I am trying to update my database with a somewhat long list of variables. I have, earlier, taken the query out and echoed the variables just to make sure that they contained the right things and were approaching the query as they should. That was fine.
However, with my query in, I get the following error message:
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 'now(), now(), '', 'Testing article...', '0', '1', '0', '0', '0'
This is the query:
$query = mysql_query("INSERT INTO news (article_number, date, time, heading, article, flag_gamecube, flag_ps2, flag_xbox, flag_handheld, flag_retro, flag_developer, flag_media, flag_site, flag_staff) VALUES (,now(), now(), '$heading', '$article', '$gamecube', '$ps2', '$xbox', '$handheld', '$retro', '$developer', '$media', '$site', '$staff')")
or die (mysql_error());
First one sent auto-increments. Second and third are date and tie respectively. Thanks in advance for the help.