title: Problems using batch_update in codeigniter
body: <p>I read similar batch_update Qs but I still have issues. Thanks in advance for help! I receive error message ("One or more rows submitted for batch updating is missing the specified index.") for the following code:</p>
  
  <p>Controller:</p>
  
  <pre><code>public function do_edit_page(){
      $id = $this-&gt;input-&gt;post('page_id', TRUE);
      $link_title = $this-&gt;input-&gt;post('page_link_title', TRUE);
      $link = $this-&gt;input-&gt;post('page_link_sub_title', TRUE);
      $this-&gt;content_model-&gt;update_links($id, $link_title, $link);
      $this-&gt;index();
  }
  </code></pre>
  
  <p>Model:</p>
  
  <pre><code>public function update_links($id, $link_title, $link){
     $data = array(
          array(
              'page_id' =&gt; $id,
              'link_title' =&gt; $link_title,
              'link' =&gt; $link
          )
      );
     $this-&gt;db-&gt;update_batch('content_links', $data, $id);
  }
  </code></pre>