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));
}
}
Ich erhalte Commands out of sync; you can't run this command now
Fehler, wie eine Abfrage in c ohne mysql_free_result (res) laufen
Ihr einzelnes Zitat ist nicht das richtige einzelne Anführungsstrich. Es muss sein '. –
Zitate sind korrekt. –
Bitte poste mehr Code, insbesondere zeige die erste mysql_query. –