I have a table in the database for employee attendance:
| id | name | time in | time out |
how to input time (at present) to table time in and time out with one click in form PHP?
no one can answer
Surely the person's time-out can't be the same as the time-in that would be pointless. Anyway MySQL has a function called NOW(), it will return the current date and time so you can use that for the insert.