Re: [PHP] syntax for printing multi-dimensional arrays

2004-03-23 Thread Tom Rogers
Hi, Tuesday, March 23, 2004, 8:03:05 PM, you wrote: BP> Hi all BP> I am having problems printing members of an array that has two BP> dimensions and am wondering if someone can help me with the syntax BP> required to do this. BP> If i have the follwing code: BP> $test=array('test1'=>'a','test2

[PHP] syntax for printing multi-dimensional arrays

2004-03-23 Thread Bob Pillford
Just found the answer so please disregard this. Cheers Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] syntax for printing multi-dimensional arrays

2004-03-23 Thread Bob Pillford
Hi all I am having problems printing members of an array that has two dimensions and am wondering if someone can help me with the syntax required to do this. If i have the follwing code: 'a','test2'=>'b'); print "$test[test1]"; ?> I get 'a' echoed to the screen as expected. But if i make the ar