title: How to insert multiple rows at once without using inputs in CodeIgniter?
body: <p>How to insert the datas from a <code>&lt;table&gt;</code> rows into the database without any <code>&lt;input&gt;</code> ?</p>
  
  <p>In CodeIgniter, I have a function where I can generate random users, which are inserted into the <code>&lt;table&gt;...&lt;/table&gt;</code> using an AJAX method by clicking on a <code>$('#btnGenerate');</code></p>
  
  <p>It fills out an empty table with the new table rows (<code>&lt;tr&gt;</code>).  Here how it looks like:<br/>
  <img src="https://i.stack.imgur.com/tbKty.png" alt="Random user generator"></p>
  
  <p>Now when I want to save these new rows into the database, I don't know how to proceed. As far as I know, I need to have an array which will be then posted into the form's action: <code>members/form_random</code> for example with the <code>$this-&gt;input-&gt;post('someInputName');?&gt;</code>. How can I do that if I don't use any <code>&lt;input&gt;</code> tags inside the table ?</p>
  
  <p>Any advice for solution ?</p>