Page 1 of 1

Multidimensional array

Posted: Sun Aug 08, 2004 10:55 am
by fstrnu
This...

print"$Overall_Name[$place][$i]";

... displays this...

Array[1]

Why won't it show the value. I need to reference a specific value in a multidimensional array in this should work, right?

And, yes, I know the array is setup properly because I can traverse it via the foreach function.

Many thanks in advance!

Posted: Sun Aug 08, 2004 12:06 pm
by feyd
print $Overall_Name[$place][$i];

or

print "{$Overall_Name[$place][$i]}";