new query[256]; format(query,256,"UPDATE `accounts` SET `Member` = '-255' WHERE `Member` = '%d'",orgid);//orgid = organization which RCON admin typed into command. mysql_query(query);
Should work. Also once you delete from Table I don't think you need mysql_free_result();