Re: Page Refresh Timed Event
Let's say that your check function is called check(), and you want to run
this function every three seconds, the appropriate code would be:
This will call check() approx. every 3000 milliseconds (3 seconds).
If check() requires arguments, the code looks like this:
Good luck. Make sure you break out of the while loop when you find the record
you are looking for.
"sanders" <email@example.com> wrote:
>for a piece of functionality. I am checking a database to see if there
>a new record. What I need is for it to keep checkig every X seconds (X
>method. Any ideas would be great.