私は ajax 呼び出しを行い、コントローラーからこの形式でデータを取得します。
Array
(
[0] => stdClass Object
(
[cat_id] => 2
[title] => Clothes
[description] => Clothing for men and women
[active_coupon_counter] => 0
[store_id] => 1
)
[1] => stdClass Object
(
[cat_id] => 17
[title] => Designer
[description] => ;description
[active_coupon_counter] => 0
[store_id] => 1
)
[2] => stdClass Object
(
[cat_id] => 24
[title] => Fashion
[description] => ;description
[active_coupon_counter] => 0
[store_id] => 1
)
)
Array
これはばかげているように思えるかもしれませんが、一体どのようにして各配列のcat_id
およびプロパティにアクセスするのかわかりません!title
みんな、助けて?
ありがとう。