ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:pageexecute

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:reference:connection:pageexecute [2016/01/17 02:51] – ↷ Page moved from v5:reference:pageexecute to v5:reference:connection:pageexecute mnewnhamv5:reference:connection:pageexecute [2022/06/25 11:20] (current) – [Description] formatting and rewording dregad
Line 4: Line 4:
 == Syntax == == Syntax ==
   obj pageExecute(   obj pageExecute(
-     string $sql +       string $sql 
-        int $rowsPerPage +       int $rowsPerPage 
- int $pageNumber +       int $pageNumber 
- optional mixed $bindVars=false+       optional mixed $bindVars=false
      )      )
 +     
 +== See Also ==
 +  * [[v5:reference:connection:cachepageexecute|cachePageExecute()]]
 +  * [[v5:reference:recordset:atfirstpage|atFirstPage()]]
 +  * [[v5:reference:recordset:atlastpage|atLastPage()]]
 +
 </WRAP> </WRAP>
  
 ===== Description ===== ===== Description =====
  
-The method ''pageExecute()'' will select the supplied $pageNumber from a recordset, given that it is paginated in pages of $rowsPerPage rows per page. It also saves two boolean values saying if the given page is the first and/or last one of the recordset.+The method ''pageExecute()'' will select the supplied //$pageNumber// from a recordset, given that it is paginated in pages of //$rowsPerPage// rows. It also saves two boolean values indicating whether the given page is the first and/or last one of the recordset. 
 ----------------------- -----------------------
 ===== Usage ===== ===== Usage =====
v5/reference/connection/pageexecute.1452995501.txt.gz · Last modified: 2017/04/21 11:34 (external edit)