1. Use SUM mysql statement for hours and minutes fields.
2. Change minutes to hours (/60) and keep the remainder as minutes (%60).
3. Collate time elements and labels for output.
Simple.
However, placing time as integer (seconds) in your DB would be easier - you should do this.
Reputation Points: 1041
Solved Threads: 935
Sarcastic Poster
Offline 6,626 posts
since Oct 2006