while ((row = mysql_fetch_row(res)) != NULL) {
sprintf(statement, "DELETE FROM `outgoing` WHERE `outgoing`.`id`=%s", row[0]);
if (mysql_query(conn, statement)) {
fprintf(stderr, "%s\n", mysql_error(conn));
}
}
Commands out of sync; you can't run this command now
エラーが発生しています