2017 © Pedro Peláez
 

library page

simple php fenye

image

luochaolun/page

simple php fenye

  • Monday, November 27, 2017
  • by luochaolun
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

PHP简单分页., (*1)

安装方法:, (*2)

composer.phar require luochaolun/page dev-master, (*3)

使用方法: require 'vendor/autoload.php';, (*4)

use LclTools\Page;, (*5)

$count = 574;, (*6)

$page = new Page($count, 25);, (*7)

$limit = $page->get('limit'); //[0,10] 数组形式,方便Medoo中使用, (*8)

$sql = "SELECT * FROM 表名 LIMIT " . implode(',', $limit);, (*9)

echo $sql;, (*10)

The Versions

27/11 2017

dev-master

9999999-dev

simple php fenye

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Avatar luochaolun

page

27/11 2017

1.0.0

1.0.0.0

simple php fenye

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Avatar luochaolun

page