「User」と「UserImage」の 2 つのモデルを使用しています。複数の行を user_images テーブルに保存する場所です。UserImage のビューは以下のとおりです。
echo $this->Form->input('UserImage.0.photo');
echo $this->Form->input('UserImage.1.photo');
echo $this->Form->input('user_id');
echo $this->Form->end(__('Submit'));
次に、複数の行を保存する方法..