I would like "for" to wait 5 sec


Posted on 16th Feb 2014 07:03 pm by admin

I would like my 'for' loop to wait 5 sec before second iteration.


for ($i=0; $i<10; $i++)
{

....
....
//I would like it to wait 5 seconds here
}

No comments posted yet

Your Answer:

Login to answer
308 Like 14 Dislike
Previous forums Next forums
Other forums

Using system() and bringing back the results
I am aware that you can use system() within PHP to execute system commands, but I was wondering if t

Select Lists into MYSQL
Hello All, I am new to PHP @ 1 week. So borrowing code anywhere I can. I am making progress, but h

TimeZoneOffset
Hello,

Please i need your help. I have a system that users can use to punch in and out. This

PHP Include w/If IE Condition Statement?
I was having a problem with Internet Exploder (big surprise, right?) displaying my drop down menus i

first id from db not showing
I have a php script which displays the content of a mysql table as a html table with sorting, delete

ImageCreate()
When I create an image and add text to it I want my text to be replaced with a PNG image, because th

help connecting a form to php and then emailing the form
Ok. So, I made a form, and I need help to where when submitted, I get an email with the submitted de

Why does this file not return file names that start with numbers?
This file returns a list of filenames to help populate a drop down in my form. For some reason it ig

help with variable
I've got a problem, i want to echo some images depending on the $id, however for me to get that id i

Count Session and Trigger Events
I am New in PHP, seeking a method to count logged users by counting the sessions or any …, is

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash