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!!! Quote 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']; Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/268520-array-help-please/#findComment-1379002 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.