title: How can I divide a table into pages without using Bootstrap?
body: <p>I have a table with about 14000 rows and I want to split the table into 1400 pages(10 rows each) and on changing the page I wanna read some data with AJAX... How is it possible? I don't want to use Bootstrap table datatype or anything... </p>
  
  <p>Any solution?
  Thanks in advance. :)</p>
  
  <p>Here is my table : </p>
  
  <pre><code>&lt;?php                                          
      echo '&lt;table id="table" class="table"&gt;
          &lt;thead&gt;
              &lt;th&gt;username&lt;/th&gt;
              &lt;th&gt;service&lt;/th&gt;
              &lt;th&gt;Date_created&lt;/th&gt;
              &lt;th&gt;&lt;/th&gt;
          &lt;/thead&gt;';
  
          foreach($$list as &amp;$res){
              $username = $res['username'];
              $group = $res['service'];
              $cr = $res['creation'];
  
  
  
              echo "
              &lt;tbody&gt;
                  &lt;td&gt;$username&lt;/td&gt;
                  &lt;td&gt;$group&lt;/td&gt;
                  &lt;td&gt;$cr&lt;/td&gt;
                  &lt;td&gt;&lt;button type='button' rel='tooltip' title='More info' class='btn btn-primary btn-link btn-  sm' onclick='userDetailsModal(`$username`)'&gt;&lt;i class='material-icons'&gt;edit&lt;/i&gt;&lt;/button&gt;&lt;/td&gt;
              &lt;/tbody&gt;
              ";
          }
  
  
          echo '&lt;/table&gt;
      &lt;/div&gt;';
  ?&gt;
  </code></pre>