in reply to Bad While Loop

while ($d1i <= 9000){

$d1i pass unchanged inside the loop so is always 0 and this is always true, so I don't understand the purpose of this loop. Maybe you want a for (0..9000) loop?

Replies are listed 'Best First'.
Re^2: Bad While Loop
by riceboyyy (Novice) on Oct 25, 2011 at 23:14 UTC
      yes, fixed