javascript timer
Hi everyone, I have been trying to figure out how to set up a js timer inside of php and I can't figure it out.
I have php checking for entries in my database, if it finds none it sets a variable.
If it finds an entry I want it to start a javascript timer for 5 minutes, then reload the script.
Thanks in advance !! I am totally lost !
<?php
if ($numRows == 0) {
$totalentries = "There are no entries in that category";
} else {
timer of 5 minutes, then reload
}
?>