Say I have a multidimensional array in PHP such as:
this_array= array(
string_name=>'string',
string_array=>array(
'string_key'=>'string_val'
)
)
How am I to access string_array’s key-val pairs? Is it just:
this_array['string_array']['string_key']
Or is it something different?
Code should look something like this, if you were intending on using strings as your keys.
Yes, you will access it by: