It looks like because it is a search record set, it is adding a Group By clause which could cause this issue. We can try this differently. Please change the query back to the way it was, and instead add this block of code:
<?php
$fee = 0;
$comm = 0;
$fee += $row_WADAthenumbers['fee'];
$comm += $row_WADAthenumbers['comm'];
?>
under this line:
<?php do { ?>
and then under this line:
<?php } while ($row_WADAthenumbers = mysql_fetch_assoc($WADAthenumbers)); ?>
add:
<?php
echo "".$fee."";
echo "".$comm."";
?>