title: CAKEPHP database update and add new entries
body: <p>let, I hava a  database with table <code>A</code>. User edit data of a <code>field</code> (let, <code>A.promocode</code>) of that table <code>A</code> using a form and the form also have option to add new input fields and input data to this to add new entries to that field(<code>A.promocode</code>) using a specific <code>userid</code>.</p>
  
  <p>Now How can I update those edited <code>promocode</code> entries and also add new <code>promocode</code> entries to the table for a specific <code>userid</code>.</p>
  
  <p>please help.</p>
  
  <p>thanks.</p>