Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

setinterval php

function setInterval($f, $milliseconds)
{
       $seconds=(int)$milliseconds/1000;
       while(true)
       {
           $f();
           sleep($seconds);
       }
}
Source by stackoverrun.com #
 
PREVIOUS NEXT
Tagged: #setinterval #php
ADD COMMENT
Topic
Name
4+8 =