I have a view in Drupal that filters my content. It brings back 7 rows. All I want to return is the number or results returned(7). Is this possible?
I tried using the Vi
With Views 3 you may need to do
$view->get_total_rows = TRUE; $total_items = $view->query->pager->get_total_items();