ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:addons:addons_index

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:addons:addons_index [2023/05/12 19:05] – [Paging & Scrolling with ADOdb Pager] updated, replaced text output with screenshot and added warning about XSS dregadv5:addons:addons_index [2023/05/12 19:12] (current) – [Paging & Scrolling with ADOdb Pager] move screenshot before code snippet dregad
Line 179: Line 179:
 This addon provides an interface between the adodb recordset and the php xmlrpc library. [[v5:addons:xmlrpc|More Information]] This addon provides an interface between the adodb recordset and the php xmlrpc library. [[v5:addons:xmlrpc|More Information]]
 ----------------------------- -----------------------------
 +
 +===== Paging & Scrolling with ADOdb Pager =====
 +
 <WRAP right box> <WRAP right box>
 == Requires == == Requires ==
   adodb-pager.inc.php   adodb-pager.inc.php
 </WRAP>   </WRAP>  
-===== Paging & Scrolling with ADOdb Pager ===== 
  
-The following code snippet creates a very simple pager, allowing you to navigate from page to page of a recordset.+The following code snippet creates a very simple pager like the sample one shown below, allowing you to navigate between pages of a recordset. 
 + 
 +{{:v5:addons:adodb_pager_sample_output.png|Sample output from ADODB_Pager}} 
 +<WRAP clear/>
  
 <code php> <code php>
Line 199: Line 204:
 $pager->render(5); $pager->render(5);
 </code> </code>
- 
-{{:v5:addons:adodb_pager_sample_output.png|Sample output from ADODB_Pager}} 
  
 The number of rows to display at one time is controled by the //Render($rows)// method. If you do not pass any value to Render(), the Pager will default to 10 records per page. The number of rows to display at one time is controled by the //Render($rows)// method. If you do not pass any value to Render(), the Pager will default to 10 records per page.
v5/addons/addons_index.1683911109.txt.gz · Last modified: 2023/05/12 19:05 by dregad