Help with MySQL [Again]
#1

Hey,

So, i have a problem with mysql (yes, again).
My delete query doesn't work. The debug mode shows me the command is out of sync, but i dont know how to solve this. I searched on ******. It seems i use the good synch but still it doesnt work. Can anyone help me?

Код:
format(file, sizeof file,"DELETE FROM houses WHERE houseid = '%d'",hid);
mysql_query(file);
Thanks,

Greetz,
Danny
Reply
#2

Command out of syncs occurs when you did something wrong with the query that was previously executed. Forgetting to call mysql_free_result, for example.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)