Ver original$query = mysql_query("SELECT SUM(excedido) AS Suma FROM Horas");$rowEmp = mysql_fetch_assoc($query);$suma=$rowEmp['Suma'];