Blueman Blueman -3 years ago 112
PHP Question

Using for next loop step 50 php?

I want steps for using for next loop.

On a vb or

for i=0 to 1000 STEP 50

How can I use this code in php?

Answer Source

You can use something like this:

for ($i = 0; $i <= 1000; $i += 50)
    // Your code...

It is wise to read PHP for for more details.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download