Here's my code:
$sql = "SELECT sum(NumPeople) FROM fall2005 WHERE VisitTime LIKE '10 a.m.' AND VisitDate LIKE '$VisitDate'";
$result = mysql_query($sql);
$count_10am = mysql_fetch_row($result);
This gives me an array value for count_10am - I need it to be an integer. How do I get that value out of the query as an integer?