Thx for helping me. I need to put this in the Model, right? Like this?
PHP Code:
public function NumberOfCustomers()
{
$query = $db->select()->from('customers', array('count'=>'COUNT(*)');
$howMany = $db->fetchOne($query);
return $howMany;
}
I get an error for this, saying an unexpected ';' is there. Every line needs a ;, I think.
Any ideas?