i have gotten this example print out of an array, i'm new to php and am confusing myself upon how to access it
this is an example of the print out:
$myarray = array( [0] => Array
(
[var_a] => something
[var_b] => something else
)
...);
so to access the contents of [0] would i use:
$usingvar_a = $myarray [0][var_a];
$usingvar_b = $myarray [0][var_b];
is that correct? if not i don't think i totally understand the meaning of the syntax so could anyone offer some advice?
many thanks,