Hi all.
I'm a newbie to PHP and Mysql, and I hope you can help me.
I have a Mysql table called "jos_log", in that table I have a column called "total", and it's a TIME type which stores total time like this 14:00.
I already have a PHP script that calculate startTime and endTime and calculate the Total time for each row (14:00 - 12:00 = 02:00).
Now I need a PHP script that will automatic SUM the column Total from the table, and will represented the SUM in a text field. The format should be HH:mm.
One thing I forgot to mansion! I'm doing this to save my Filght Time (I'm a Pilot). Which means, The SUM time is a lot higher the 24:00. Right now I have 60:00 hours.
Looking forward to hear from someone
Cheers.