我正在使用两个模型'User'和'UserImage'..我要将多行保存到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'));
那么如何保存多行..