so I have this timer in javascript, but after it has hit 0 i want some php code to execute. I don't really know where to start :/. My javascript Timer
var count = 4;
var counter=setInterval(timer, 1000);
function timer()
{
count = count-1;
if (count <= 0)
{
...
}
}
execute php here if count = 0;