Drupal Questions & Answers

Ask and answer Drupal related questions! No question too simple or complex!
eyonz.com's picture
Asked by on Sat 4th Sep 2010
alternative to db_num_rows on drupal6

as you all know since drupal6, function db_num_rows() is abandoned since not all of database query system support this.

up until now i use multiple query, as mention here http://drupal.org/node/236969#comment-777367

however this solution need to call database or run the query twice.

i wonder are there any other solutions to this matter?

please help. thanks

Commenting on this Drupal Question is closed.