php - How to read a array object for a class -


hi have follow array

classes\form_record object (     [sent_data:protected] => array         (             [cw6hwgw] => 11             [ezlkp6m] => 11         )      [fields:protected] => array         (             [cw6hwgw] => array                 (... 

and trying read vaules cw6hwgw , ezlkp6m

what need result in php tried [sent_data][0] dose not work

if understand correctly, have used array in array should use 2 foreach loops, or indicate number in array both arrays.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -