As I said, its weird, it will give me the output I want, yet it still complains..
$result = mysql_query("SELECT count(*) from collection where bool_coll = '0' AND bool_team_iss = '1'");
$total_team_items_coll = mysql_result($result, 0, 0);
$result = mysql_query("SELECT count(*) from collection where bool_team_iss = '1'");
$total_team_items = mysql_result($result, 0, 0);
$total_items_coll = $total_cards_coll + $total_team_items_coll;
$perc_team_items_coll = ($total_team_items/$total_team_items_coll)*100; (it complains about this)
printf("Percentage of collection wanted: (%.0f/%.0f) = %.2f%%", $total_items_coll, $total_items, $perc_total_items);
//Is it Opera, or is the code text really small?