Not only a good answer, but the best explanation.
thanks,
bill hollett
Rasmus Lerdorf wrote:
> > The first echo statement doesn't work, the second does. Anybody know
> > why?
> >
> > $string1=15;
> > $string2=27;
> > $myarray[$string1][$string2]="syncopated";
> > echo "$myarray[$string1][$str
> The first echo statement doesn't work, the second does. Anybody know
> why?
>
> $string1=15;
> $string2=27;
> $myarray[$string1][$string2]="syncopated";
> echo "$myarray[$string1][$string2]\n"; //displays Array[27]
> echo $myarray[$string1][$string2] . "\n"; //displays syncopated
Complex va
2 matches
Mail list logo