Jump to content

Please help me check a small snipet of code...


woodsonoversoul

Recommended Posts

I'm getting this error:

 

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 'set, set_position) VALUES('wsp1992-07-15s1s01','/home/dan/MusicDataBase/wsp1' at line 1

 

from this line:

 

$sql= "INSERT INTO songs (unique_song_id, file_location, artist, date, name, set, set_position)VALUES('$song_id','$file_location','$band', '$date','$song_name','$set_num','$set_position')";

 

Does anyone see anything wrong w/ my syntax?

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.