Jump to content

CoolHandLuke

New Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by CoolHandLuke

  1. 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!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.