Server side pagination doesn't work

Server side pagination doesn't work

m75sam75sa Posts: 132Questions: 30Answers: 0

Hi, I would like to paginate mysql results table so i added the following code:
$(function () {
$("#example1").DataTable({
"processing": true,
"serverSide": true,
"ajax": "server_processing.php"
);
});

and the server_processing.php contains my db information, table name etc... but every time i try to load the list an alert popup says:
DataTables warning: table id=example1 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

Can you pls help me? Thanks

This question has an accepted answers - jump to answer

Answers

This discussion has been closed.