Server side pagination doesn't work
Server side pagination doesn't work

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
Did you follow the steps at the URL provided?
What are the results?
Are you returning the JSON data as described here:
https://datatables.net/manual/server-side#Returned-data
Kevin