Skip to content

jammer699669/Foundation-Pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Foundation-Pagination

PHP front end to easily use the feature of foundation pagination

Included is the raw file pageit.php that you can include in your code

Requires a few parameters

$limit must be set so database calls work

$totalrowslocal is the value return from the database of all rows matching your request

Mysql Example $sqrows="SELECT * FROM products where ptype1='$p1' "; $rec = mysqli_query($con,$sqrows) or die(mysqli_error($con)) ; $totalrowslocal = mysqli_num_rows($rec);

$limitvalue = $page * $limit - ($limit); $results = $con->query("SELECT * FROM products where ptype1='$p1' limit $limitvalue,$limit ");

Please note: Foundation 6 (framework) is included however it is under a seperate licence from them

About

PHP front end to easily use the feature

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published