Skillbooker
Login Register

Cakephp


How to do a quick number count of a list in Cakephp

As documented in http://book.cakephp.org/2.0/en/models/retrieving-your-data.html

$totalUsers = $this->User->find('count', array('conditions'=>array('User.email' => $email)));


Posted on: 2016-06-01 Please login/register to leave comments