PHP pagination without DB queries -


i'm newbie on this, i'm making simple pagination on php. there many examples making pagination db query, watched several times, couldn't find answer... want make without db queries.

so... please imagine simple table.

enter image description here

very simple table. want separate above rows 2 pages. if click 1st page, enter image description here

and 2nd page,

enter image description here

like that. how can make it? please me...

<table> <tr><th>name</th> <th>point</th></tr> <tr><td>row 1</td> <td>100</td><tr/> <tr><td>row 2</td> <td>200</td><tr/> <tr><td>row 3</td> <td>300</td><tr/> <tr><td>row 4</td> <td>400</td><tr/> <tr><td>row 5</td> <td>500</td><tr/> <tr><td>row 6</td> <td>600</td><tr/> <tr><td>row 7</td> <td>700</td><tr/> <tr><td>row 8</td> <td>800</td><tr/> <tr><td>row 9</td> <td>900</td><tr/> <tr><td>row 10</td> <td>1000</td><tr/> 

i believe want paginate html table can use jquery plugin, can found under url

http://kayalshri.github.io/tablepagination/ 

you can check demo here

http://ngiriraj.com/pages/tablepagination/demo.php 

Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -