Jump to content

[SOLVED] sql help


dennismonsewicz

Recommended Posts

I have been staring at this for quite sometime now and cannot figure out what my problem is... its been a very long morning already lol...

 

$sql = mysql_query("INSERT INTO jos_chronoforms_9 ('daterec','status','details','requestor','comments') VALUES ('$date', '$status', '$details', '$requestor', '$comments')")or die(mysql_error());

 

I am getting this 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 ''daterec','status','details','requestor','comments') VALUES ('hj', 'jlh', 'jlh',' at line 1

Link to comment
https://forums.phpfreaks.com/topic/150890-solved-sql-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.