ok, so this is what i came up with...
<? $result = mysql_query("SELECT SUM(guest) FROM rsvp WHERE status ='yes'");
$a = array($result);
$total = array_sum($a);
echo $total?>
this gets the result that I was looking for, but i'm wondering if it's efficient or is there a better way to arrive at this?
(please excuse my ignorance, I am somewhat of a newbie)
Thanks