title: CodeIgniter 3 get all form post data and insert into database without making an array like cake php 3
body: <p>Hey guys can anyone suggest me how to insert all post data into database in codeigniter 3 like cake php 3 without making an array.
  In cakephp 3 I use to write code like this</p>
  
  <pre><code>$this-&gt;loadModel("Users");
  $users = $this-&gt;Users-&gt;newEntity();
   if ($this-&gt;request-&gt;is('post')) {
        $users = $this-&gt;Users-&gt;patchEntity($users, $this-&gt;request-&gt;data);
        `$this-&gt;Posts-&gt;save($users)`
  }
  </code></pre>
  
  <p>so if you will see above code I have not made any array to insert into database
  So I want to know that does codeigniter provide such type of facility?????</p>