the array starts at 0 not 1

you should realy look at foreach instead


Pacifico wrote:

> i have this program:
>
> $sup1='a';
> $sup2='b';
> $sup3='c';
>
> for ($i=1 ; $i<4 ;$i++){
>     print $sup($i);
> }
>
> but give error, why???

Reply via email to