get data from multi-dimensional array using PHP code

前端 未结 3 1447
无人及你
无人及你 2021-01-28 11:13

I\'m trying to get this data [label] => For Rent from a multi-dimensional array. Here is my array

Array ( [listing_id] => 0 
        [fields]          


        
3条回答
  •  无人共我
    2021-01-28 11:47

    Try

    $array[fees][30]->label
    

    Where $array is whatever you're top level variable is.

提交回复
热议问题