title: CakePHP save multiple rows
body: <p>I am using two models 'User' and 'UserImage'.. Where in i am going to save multiple rows into user_images table.. The view for UserImage is below..</p>
  
  <pre><code>echo $this-&gt;Form-&gt;input('UserImage.0.photo');
  echo $this-&gt;Form-&gt;input('UserImage.1.photo');
  echo $this-&gt;Form-&gt;input('user_id');
  echo $this-&gt;Form-&gt;end(__('Submit'));
  </code></pre>
  
  <p>Then how to save multiple rows..</p>