Reviving an old thread, but I wanted to ask if it is possible to have a different increment instead of 1, for $from .. $to in the above script? An increment of 5 or 10 or something? Like when in a for loop one could use for ($i=1; $i=100; $i+5) or something like that?