mysql_query after 8 seconds

Hi,

I want to use a mysql_query after 7 seconds.
I don’t know how to do this, I heared I have to use AJAX.

There is only one problem, I did never worked with AJAX, can someone help me please?

Just use the PHP’s SLEEP function… Tell it to sleep for 10 seconds or whatever. I would use more than the 7 you require as there are some odd timing issues when dealing with servers… Here is a link talking about SLEEPing…

http://php.net/manual/en/function.sleep.php

(Look down the page a little at the examples posted by users…)

So, you would sleep, then query… That should work, Good luck…

Sponsor our Newsletter | Privacy Policy | Terms of Service