I am trying to create function to automatically adding rows every 12 PM each day for attendance record table, total data based on total employees, for example I have 5 employees, so I need function to adding 5 new rows with default value that I have set before.
here is my table:
Thanks for any ideas.
CodePudding user response:
Just write php script for this work.
and scheduler it into Cron job.
You can following: Execute PHP script in cron job