How can I access the array values in php? -


this question has answer here:

my array this:

[name] => array  (  [0] => mark ) 

since array name value array called "category":

 category = array(name); 

i'm having trouble getting value of

name[0] = "mark"  

pls me out!

$result = $myarray['name'][0]; 

since array 2-dimensional need use 2 indexes reach bottom-layer of values.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -