Quantcast
Viewing all articles
Browse latest Browse all 82130

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

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 82130

Trending Articles



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