Hi, I'm pretty new to php, and I've been getting by on google searches and several books for references. But I seem to be stuck on this one problem.
I imported this data from a csv file which tracks times employees clock in and out of work. I was able to import the csv into mysql using php. The csv contains one row per transaction. Each time you clock in or out, it creates a new row. See the following:
The second column indicates whether a person clocked in or out. The third is the time, the last is the date.
I've been able to display the data in a table, but I would like to subtract the time from each different row to display the hours worked.
I don't usually post on forums in fear of getting flamed. So forgive me if I broke any rules.
Appreciate any help I can get.