这是我拥有的数组,我想遍历它并逐个打印用户名:
Array ( [0] => [{"username":"klara","id":"1","lev":0},
{"username":"catherine","id":"8","lev":0},
{"username":"eliz","id":"9","lev":0}] )
我应该怎么做?
我试过这个:$arrayName[0][0]['username']
但没有运气。
有任何帮助! :)