problem in datatables need help

problem in datatables need help

SisqoSisqo Posts: 2Questions: 1Answers: 0

the code echo json_encode( SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )); from here http://services.sosteam-group.com/server_side/scripts/server_processing.php returns {"draw":0,"recordsTotal":1049,"recordsFiltered":1049,"data":[{"a0":"28","a1":"226430 \/ 215002309","a2":"11\/01\/2015","a3":"Paid","a4":"PHILIPPE NIEMEGEERS","a5":"AG Insurance","a6":"","a7":"Chris, Jarrod"},{"a0":"798","a1":"PRIVE","a2":"01\/12\/2015","a3":"Closed","a4":"Mr Ellis","a5":"SOS TEAM","a6":"Faycal","a7":"Chris, Salma, Pascale, Jarrod"}]} but the test link from here http://services.sosteam-group.com/server_side/simple.html says No matching records found.
if i change the echo server_processing.php to echo '{"draw":0,"recordsTotal":2,"recordsFiltered":2,"data":[{"a0":"28","a1":"226430 \/ 215002309","a2":"11\/01\/2015","a3":"Paid","a4":"PHILIPPE NIEMEGEERS","a5":"AG Insurance","a6":"","a7":"Chris, Jarrod"},{"a0":"798","a1":"PRIVE","a2":"01\/12\/2015","a3":"Closed","a4":"Mr Ellis","a5":"SOS TEAM","a6":"Faycal","a7":"Chris, Salma, Pascale, Jarrod"}]}'; the table from simple.html gives a table with two rows, where is so problem? please help.

Answers

This discussion has been closed.