I have a problem that may not have a solution, but hopefully someone out there can figure it out.
I developed a website in PHP / MySQL that uses HTML / CSS for payroll processing. When a user sends a payroll for the past (2 weeks) period, he processes every working hour. For companies with 50 employees, it can process it fairly quickly, but for companies with more than 100 employees, it can take quite a lot of time to process. Ideally, I would prefer a non-general βDownloadβ template or an estimated β35% loadedβ panel, since each payroll of each company varies greatly in the number of employees.
The best solution would be that as soon as they send the payment period, I can transfer the full record number from the PHP / MySQL / DB processor, and then update the number, since each employee is processed from the PHP processor, so the user will see "Employee Processing 35 of 134 ", for example, where" 35 "will increase and update as each record is processed. Or, if this is not possible, I will even be fine with a dynamic list, for example:
Processing employee 1 of 134
Processing employee 2 of 134
Employee Handling 3 of 134
Employee Handling 4 of 134
etc...
Ajax or Javascript seems to be the best options for achieving this, however I still cannot figure out how to use them to achieve this. Any help or understanding will be appreciated. I will continue to search and update this post if I find anything else.
source share