note 43939 deleted from ref.dbx by tomsommer
| From: | tomsommer@php.net | Date: | Fri, 09 Jul 2004 10:37:44 +0000 |
| Subject: | note 43939 deleted from ref.dbx by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72918@lists.php.net to get a copy of this message | ||
Note Submitter: bart@mediawave.nl
----
Little (harmless) mistake I made in my pagedQuery function (spotted by the maintainer of the DBX
extension). This causes the $start position set at -10 in stead of 0.
function pagedQuery($link, $sql, $nrows = 10, $page = 0) {
Should become:
function pagedQuery($link, $sql, $nrows = 10, $page = 1) {