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 -

command line - How can a Python program background itself? -

android - How to prevent keyboard from closing when bottom dialog is open? -