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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to