rastaman46 Posted September 18, 2012 Share Posted September 18, 2012 Im noob on arrays so please help people here is output im get Array ( [fieldType] => input [config] => Array ( [setting] => 10 [setting1] => 20 ) ) how to im get value in PHP variable im tryd "$config['setting']" but get me nothing [fieldType] => input [config] call me field do works but not rest Please just guid me up im beginning in this world!!! Link to comment https://forums.phpfreaks.com/topic/268520-array-help-please/ Share on other sites More sharing options...
Barand Posted September 18, 2012 Share Posted September 18, 2012 Assuming the array is $myarray, you would get the config setting with $setting = $myarray['config']['setting']; Link to comment https://forums.phpfreaks.com/topic/268520-array-help-please/#findComment-1379001 Share on other sites More sharing options...
rastaman46 Posted September 18, 2012 Author Share Posted September 18, 2012 Thanks man Link to comment https://forums.phpfreaks.com/topic/268520-array-help-please/#findComment-1379002 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.