Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multidimensional arrays

Status
Not open for further replies.

kknorpp001

Technical User
Dec 22, 2003
13
US
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!
 
However you may wish to display the array to us so we understand its make up.

Also no idea why you use """""""""""""" for the print statement.


JR
As a wise man once said: To build the house you need the stone.
Back to the Basics!
 
I suggest that you inspect the content of the array if it actually contains the expected values. Use
Code:
echo "<pre>";
print_r($Overall_Name);
echo "</pre>";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top