Hi all
Im having problems printing values from a 2 dimensional array:
If i have:
temp[0]=array(0,10,11);
temp[1]=array(a,b,c);
print $temp[0][1];
 
i expected the output to be '10' instead i get 'Array[1]', however if i use:
 
$var=$temp[0][1];print $var; i get '10' as the output. This is fine but it defeats the 
purpose of what i am trying to do, can anyone tell me why this is happening? Im new to 
arrays and its fairly confusing.
Thanks for any help in advance!
 
Cheers
 
Bob 


---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger

Reply via email to