int totaldispos = 0; int totalused = 0; int tui = -7; for (int i = -7; i < 13; i++) { query = "SELECT COUNT(*) FROM " + tempCampaign + " WHERE disposition = '" + itos(i) + "' AND if (mysql_query(mysql, query.c_str()) != 0) { //std::cout << "
Error selecting filter!" << std::endl; } else { result = mysql_use_result(mysql); row = mysql_fetch_row(result); totaldispos = totaldispos + stoi(row[0]); std::cout << "