Jump to content

getting count


php_begins

Recommended Posts

      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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.