random1 Posted December 13, 2007 Share Posted December 13, 2007 I have an array called '$records' that I then print_r() to print out the array: output is: Array ( [0] => Array ( [systemsetting_value] => Yes ) ) What does the about output mean? Is this a 2d array? How can I grab the value 'Yes' in the array above? I have tried echo $records[0]; Link to comment https://forums.phpfreaks.com/topic/81427-solved-php-arrays/ Share on other sites More sharing options...
random1 Posted December 13, 2007 Author Share Posted December 13, 2007 Finally got it with: echo $records[0]['systemsetting_value']; Link to comment https://forums.phpfreaks.com/topic/81427-solved-php-arrays/#findComment-413322 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.