$table = 'depo_tbl1';
$primaryKey = 'id';
$columns = array( array( 'db' => 'sys', 'dt' => 0 ), array( 'db' => 'br_code', 'dt' => 1 ), array( 'db' => 'acct_no', 'dt' => 2 ), array( 'db' => 'cif_no', 'dt' => 3), //array( 'db' => 'acct_type', 'dt' => 4), array( 'db' => 'acct_desc', 'dt' => 4), //array( 'db' => 'bal', 'dt' => 6), //array( 'db' => 'open_dt', 'dt' => 7), array( 'db' => 'acct_stat', 'dt' => 5), //array( 'db' => 'id_t', 'dt' => 9), array( 'db' => 'id_no', 'dt' => 6), array( 'db' => 'pan_no', 'dt' => 7), array( 'db' => 'cust_name', 'dt' => 8), /array( 'db' => 'cust_add1', 'dt' => 13), array( 'db' => 'cust_add2', 'dt' => 14), array( 'db' => 'cust_add3', 'dt' => 15), array( 'db' => 'city', 'dt' => 16), array( 'db' => 'pin', 'dt' => 17), array( 'db' => 'mob_no', 'dt' => 18), array( 'db' => 'upload_dt', 'dt' => 19),/
);
$extraWhere = 'id > 0 group by acct_no,cif_no,pan_no,id_no';
$sql_details = array( 'user' => 'root', 'pass' => '', 'db' => 'adcbank_reports', 'host' => 'localhost' );
require( 'vendor/DataTables/server-side/scripts/ssp.class.php' );
echo json_encode( SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns,null,$extraWhere) );