php - pagination using bootpag an Bootstrap functionality -


i using bootpag pagination support pagination in application

<div id="demo">     <?php //print_r($data);?> </div> <div id="page-selection"></div>  $('#page-selection').bootpag({ total: <?=$totalrows?> }).on("page", function(event, /* page number here */ num) {     $("#demo").html("insert content"); // ajax content loading...   }); 

pagination working same rows displaying in page, want set 5 rows per page , remaining rows should display in next page, how set number of rows per page using bootpag?


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -