function printNumberOptions($from, $to) { $i = $from; while($i <= $to) { print "" . sprintf("%02d", $i) . "\n"; $i++; } } ?>