Preciso somar o total de uma tabela (somar as horas)
Segue abaixo uma parte do código
<table border="1" style="width: 100%; float: right" id="grid" name="grid" width="90%" border style="font-family:verdana; font-size:10px;">
<thead>
<tr>
<th><font face="lucida fax" size='3'>Funcionário</th>
<th><font face="lucida fax" size='3'>Horário Inicial</th>
<th><font face="lucida fax" size='3'>Horário Final</th>
<th><font face="lucida fax" size='3'>Dia</th>
<th><font face="lucida fax" size='3'>Serviço</th>
</tr>
</thead>
<tbody>
<?php
$SQL = "select * from horario order by vl_hora";
$RSS = mysqli_query($conexao,"select * from horario order by vl_hora") or print(mysqli_error());
while($RS = mysqli_fetch_array($RSS))
{
echo "<tr onClick='javascript: Clica(".$RS["cd_hora"].")' >";
echo "<td align=center>".$RS["ds_func"]."</td>";
echo "<td align=center>".$RS["vl_hora"]."</td>";
echo "<td align=center>".$RS["vl_hora1"]."</td>";
echo "<td align=center>".date("d/m/y", strtotime($RS['vl_date'] ))."</td>";
echo "<td align=center>".$RS["ds_ser"]."</td>";
echo "</tr>";
$xx = $xx + 1;
}
?>
</table>
Se puderem ajudar, agradeço;