Using for next loop step 50 php? [closed]

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.

Leave a Comment