I want steps for using for next loop.
On a vb or vb.net
for i=0 to 1000 STEP 50
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.