i am trying to add values within in a while loop that is within more loops, i the following code works how i want it to, however it adds the total hours from each group to the next groups total hours. how can i fix this?
$result = mysql_query("SELECT * FROM employees ") or die(mysql_error())...