php_begins Posted February 3, 2012 Share Posted February 3, 2012 Is there another way to count no of rows returned by a query.The following code returns 1 even though there is no result returned.(i am working on ZEND). $this->view->overdue_query = $overdue_query->fetchAll(); /*Get overdue count */ $this->view->overdue_count = count($overdue_query); Link to comment https://forums.phpfreaks.com/topic/256339-getting-count/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.