Blueman Blueman - 6 months ago 26
PHP Question

Using for next loop step 50 php?

I want steps for using for next loop.

On a vb or vb.net

for i=0 to 1000 STEP 50
....
next


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