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

How to know if online site made with PHP
Hello,
I see some sites that does not display extensions at all , for example:

www.site.co

Auto-populating dropdowns and multiple forms.
Here's what I have so far:

First drop down = select a state (works)
This populates the sec

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

A WBS element with the name XXX already exists in version FREI_VERSION
Hi.
When I am trying to insert WBS element in a project, error occurs:

"A WBS eleme

New Search Engine problem
Hey everyone,

I have a ZIP Code Radius search engine already functional. it displays all of t

Get keys and values from an array
Hellow,

I have an array $Data with keys and values. With a foreach I can display all the valu

Interpret Order
Hello all,

I'm wondering if I have this:

Code: $switch = array(
'one' =>

Shopping Cart
Can anyone direct me to a Simple, Basic structure of a shopping cart.
New to classes. I want to s

How to limit the calls to an API
Hello, in my simple script I call an api which effectively involves me getting an xml file.

H

Bluetooth RSSI & VIsta
Okie I got 4 Bluetooth adapters, a DBT-120 by Dlink, A Zonet Microsoft Bluetooth which is what I use

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