08.05.2013, 02:30
Go read some tutorials on using MySQL. Also note that your string "file" is too short. The query itself is 36 characters long, you need a string of at least 40 to account for the possible ID's and the null terminator.

