[PHP] Re: [PEAR] Pager_Wrapper_MDB2 and PHP
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://pea
[PHP] Re: [PEAR] PEAR DB & PAGER & array_push
umping', 'perPage' => 30, 'delta' => 5, ); $page = Pager_Wrapper_DB($db, $query, $params); echo $page['links']; ?> ID Country '; echo ''. $country['id'] .''; echo ''. $country