Re: [PHP] for() problem on php-4.0.6

2001-07-09 Thread Pavel Jartsev
Mesut Tunga wrote: > > Hi All, > > a for statment like below has been worked lowe php versions: > > for ( $idx = "01"; $idx <= 12; $idx++ ) > { >echo " $idx\n"; > } > > like 01, 02, 03, 04, ... 12 > > but same statment on 4.0.6 version, it writes > > 01, 2, 3, 4, ... 12 > > what

[PHP] for() problem on php-4.0.6

2001-07-09 Thread Mesut Tunga
Hi All, a for statment like below has been worked lowe php versions: for ( $idx = "01"; $idx <= 12; $idx++ ) { echo " $idx\n"; } like 01, 02, 03, 04, ... 12 but same statment on 4.0.6 version, it writes 01, 2, 3, 4, ... 12 what is the different between verisons? or how can I solve

[PHP] for() problem on php-4.0.6

2001-07-09 Thread Mesut Tunga
Hi All, a for statment like below has been worked lowe php versions: for ( $idx = "01"; $idx <= 12; $idx++ ) { echo " $idx\n"; } like 01, 02, 03, 04, ... 12 but same statment on 4.0.6 version, it writes 01, 2, 3, 4, ... 12 what is the different between verisons? or how can I solve