Hi all,
I ve discovered the power of php/mysql/html in last few days whilst putting together an online app to enable the staff of a friends company to log on and enter their current location and time due to leave current location.
So far so good, they can select their name from a drop down box, enter location and time leaving which is then stored in a database to be loaded in another page.
Now, one of the requests of my friend was to have the ability to scan the page and see if anyone is overdue - current time vs time leaving.
So I have tried and thought of many different approaches to acheive what i was once acheived with datediff - vb but can't seem to find a solution. If only it was as easy as currentTime - timeLeaving . But it's not.
I know javascript has something similar to datediff but can you acheive tis with php?
Any directions would make my life easier??!!
B