Not loading rows from database

Not loading rows from database

TrumTrum Posts: 5Questions: 3Answers: 0

Link to test case: https://demos.turf.gg/
Debugger code (debug.datatables.net):
Error messages shown: None, rows is not loading
Description of problem: I added the

"draw": 1,
"recordsTotal": 57,
"recordsFiltered": 57,

in my json object and also sat the serverSide value to true.

But it does not want to load the results, what am I missing?

Here is my PHP script: https://hasteb.in/pomacote

Answers

  • kthorngrenkthorngren Posts: 21,184Questions: 26Answers: 4,925

    Your example ( https://demos.turf.gg/ ) doesn't have serverSide: true. Not sure about the PHP script, I don't use PHP. Take a look at this server side example. Click the Server-side script tab to see the script it uses. You can look at the ssp.class script here for an example of how to write the server side script for paging.

    Kevin

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    It loaded the records for me, so assuming this has been resolved.

    Colin

This discussion has been closed.