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); Quote Link to comment https://forums.phpfreaks.com/topic/256339-getting-count/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.