CoolHandLuke
-
Posts
2 -
Joined
-
Last visited
Posts posted by CoolHandLuke
-
-
I have the following code:
<?php $m_array = array( 'species' => "Northern", 'length' => 3, 'color' => array( 'firstColor' => "brown", 'secondColor' => "copper" ), 'bodyType' => "stocky" ); print_r($m_array); ?>
I can't seem to figure out how to print_r the value of 'firstColor'. How is this done?
Thank you!
Accessing Values with in a Simple Multidimensional Array?
in PHP Coding Help
Posted
Thank you both.