Hi all apologies if this is an easy solution, I am creating an test application and require that a timer is started when the user clicks on the test. I am however completely confused how to implement a counter for the application - and how to trigger an action when the timer has reached 0.
I have found implementations of JS timers/countdowns:
and a php timer:
I was hoping that someone could help me with an example of a PHP timer that triggers an action when it has reached 0 for example - redirecting to another page.
Many thanks in advance - please have patience, I am a total beginner