Re: Pager_Wrapper_MDB2 and PHP

From: Date: Sat, 03 Mar 2007 19:18:36 +0000
Subject: Re: Pager_Wrapper_MDB2 and PHP
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26712@lists.php.net to get a copy of this message
Hi Lorenzo, I've seen you are the co-author of this class, so i would like to know how i can get the current array index on which data points to. thanks, Al.
On 3/3/07, Lorenzo Alberton <l.alberton@quipo.it> wrote: Alain Roger wrote:
Hi, How to get the number of items stored in the Pager_Wrapper_MDB2 object
? $res = Pager_Wrapper_MDB2(...); //number of items to paginate $res['totalItems']; //number of items in the current page count($res['data']); -- Lorenzo Alberton http://pear.php.net/user/quipo ___________________________________________________________________ Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di più. ADSL, Hardware & Software Online Store -- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5
-- Alain ------------------------------------ Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5

« previous php.pear.general (#26712) next »