I'm writing a time recording program for the company I work for. I'm using the a form to capture data from the user end.
I will be creating a dynamic interface for the managers to see what client currently handled by which user. To do this I will be auto submitting "User Name", "Category", "Client Name" and "Start Time" to a temporary table which will hold the data only for that day.
I want to know if there's a way to this using PHP script which will be running in timed manner to TRUNCATE the temporary table on each day. I'm using MySQL as my database software.
This not a duplicate of this I'm asking to run a PHP in a timed manner
UPDATE: I think I found my own solution to this problem thank you all for the help will update this when I get it to work.
UPDATE: I used this method in order to do what I wanted to do link