I'm new to PHP and have the basics down but now I have a pretty big task to accomplish and really need some help getting there.
I am trying to make a system that logs when someone is absent or late for the day. So I already have a table in one database that has each users schedule with their start time, end time, the days they work, and their user id. Then there is another system that logs when they clocked in.
So what I need to do loop through the "timeclock" table for the user id, login time, and date. Then compare that to the information on my schedule table. If it finds that for example Joe Smith did not clock in on monday but he is scheduled monday it then needs to save that he was absent onto another table.
The timeclock and schedule table are on different databases on different servers, and the absent/late list would be on the same database as the schedule. Any help to at least get me pointed in the right direction would be great, thanks in advance.