Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35273

[answered] PHP MySqli script returns all records

$
0
0

Hi, I am trying to get Datatables to display call records from an Asterisk server.

I am using the server side script from https://www.datatables.net/development/server-side/php_mysqli
I have only changed the logins and column names.

This is my JavaScript:

$(document).ready(function() {
  var oTable = $('#call_records').DataTable({
        "processing": true,
        "serverSide": true,
        "ajax": "./newconnector.php",
        "length": 10
  });
});

When I open the page containing the table, it loads every single record into one single page, even though it shows the paging tabs at the bottom.


Viewing all articles
Browse latest Browse all 35273

Trending Articles