blinks58 Posted April 19, 2013 Share Posted April 19, 2013 I have the following array, called $list: Array( [info] => Array ( [total_rows] => 29619 [page_rows] => ) => Array ( [0] => Array ( [title] => Barbie => blue ) [1] => Array ( [title] => Teddy bears = red ) ) I am able to successfully echo $list['info']['total_rows']; However, I can't figure out how to echo or print_r the "Barbie" line. echo $list['list'][0]['title']; won't work. TIA Quote Link to comment https://forums.phpfreaks.com/topic/277131-referencing-an-array/ Share on other sites More sharing options...
requinix Posted April 19, 2013 Share Posted April 19, 2013 That's the way to do it. There's something else going wrong. Quote Link to comment https://forums.phpfreaks.com/topic/277131-referencing-an-array/#findComment-1425750 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.