dbPagedQuery
The dbPagedQuery function is a "paginator" for db results. It does NOT create any of the output, but will return an array consisting of the actual data, and the "prev" and "next" pages, if they exist
array
dbPagedQuery
(string $query, int $start, int $count, [string $_ret = 'NUMERIC'], [string $c_query = false])
-
string
$query: SQL query to run
-
int
$start: Numerical offset (start) of first row to return (default 0)
-
int
$count: Number of rows to return
-
string
$_ret: Return type for data. This can be any of the valid return types as used by dbQuery().
-
string
$c_query: optional Counting Query that will be used in place of primary query to retrieve row count.
|