ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:recordset:absolutepage

absolutePage

See Also

pageExecute()

cachePageExecute()

Syntax
int absolutePage(
   optional int $pageNo = -1
)

Description

Used in conjunction with pageExecute, absolutePage() returns the current page number in a paged recordset. If the optional parameter is set to a value different from -1, it forces the current page number to be the value set.

Usage

$pn = $result->absolutePage();
v5/reference/recordset/absolutepage.txt · Last modified: 2016/08/13 19:03 by mnewnham