Assuming $db is the connection to your database and "customers" is your table:
$query = $db->select()->from('customers', array('count'=>'COUNT(*)');
$howMany = $db->fetchOne($query); // $howMany is what you're looking for
__________________
------------------
Loris Candylaftis
|