我怎麼能在foreach循環和檢索項檢查是否有在循環蛋糕PHP偏移?我有一個消息,說這個......如何檢查在一個循環偏移
Notice (8): Undefined offset: 1 [APP\views\cars\car_details.ctp, line 53]
Notice (8): Undefined offset: 2 [APP\views\cars\car_details.ctp, line 53]
其這樣
$car_ratings['CarRating'][$j]['reccar_num']
顯示您的代碼! – deceze