06-05-2008, 04:16 AM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Apr 2008
Posts: 110
Thanks: 97
|
2-d arrays -- issues of printing and deleting
I have an array of arrays, like so:
$arr = array(array('blue','green','yellow'),
array('fall','winter','summer'),
array('Ford','GMC','Toyota')
)
I want to print_r(), say, only the seasons and the cars, how would I do this?
Also, how could I delete one of the arrays?
Thanks for your help!
Dave
|
|
|
|