title: datatable pagination work for first paginate only
body: <p>I am trying to paginate my data with data table plugin but its pagination works for the first time only. first, its loads showing data when I click on the second page it works but after that, it doesn't. it shows processing on the top of the table here is my code.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;table id="data_table" class="display" width="100%" cellspacing="0"&gt;
      &lt;thead&gt;
         &lt;tr&gt;
              &lt;th&gt;&lt;input type="checkbox" id="selectAll"/&gt;&lt;/th&gt;
              &lt;th&gt;Plan Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
              &lt;th&gt;Image&lt;/th&gt;
              &lt;th&gt;Quantity&lt;/th&gt;
              &lt;th&gt;Amount&lt;/th&gt;
              &lt;th&gt;Action&lt;/th&gt;
         &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;&lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p><strong>JQUERY</strong></p>
  
  <pre><code>$("#data_table").dataTable({
      "bProcessing": true,
      "bServerSide": true,
      "bPaginate": true,
      "sAjaxSource": "response.php",
  });
  </code></pre>
  
  <p><strong>PHP</strong></p>
  
  <pre><code>if(isset($_GET['iDisplayStart']))
      {
          $start = $_GET['iDisplayStart'];
      }
      else
      {
          $start = 0;
      }
  
      if(isset($_GET['iDisplayLength']))
      {
          $limit = $_GET['iDisplayLength'];
      }
      else
      {
          $limit = 10;
      }
  
      $plan = new Plan();
      $result = $plan-&gt;getPlanList($limit, $start);
      $count= $plan-&gt;getCountPlanList();
      $myarray['recordsTotal'] =  $count[0]['count(*)'];
      $myarray['recordsFiltered'] =  $count[0]['count(*)'];
      $myarray['draw']  = intval($start/$limit)+1;
      $myarray['data']  ="";
      foreach($result as $data)
      {
          $myarray['data'][] = array('&lt;input type="checkbox" name="selectcheck[]" class="selectcheck" value="'.$data['id'].'"&gt;',$data['name'],$data['description'],$data['image'],$data['quantity'],$data['amount'],'&lt;a href=""&gt;Edit&lt;/a&gt;');
      }
  
      echo json_encode($myarray);
      die;
  </code></pre>