Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82271

Bug in demo: Server-side processing | PHP with PostgreSQL

$
0
0
Line 53 is
$sLimit = "LIMIT ".intval( $_GET['iDisplayStart'] )." OFFSET ".
         intval( $_GET['iDisplayLength'] );
but has to be
$sLimit = "LIMIT ".intval( $_GET['iDisplayLength'] )." OFFSET ".
         intval( $_GET['iDisplayStart'] );
otherwise the first table page is empty and clicking through next pages adds results to the current page.

Viewing all articles
Browse latest Browse all 82271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>