function db_num_rows($qid) { trigger_error(__FUNCTION__ . " has been deprecated in v3.2 and will be removed in v5.0. Please use w2p_Database_Connection->db_num_rows instead.", E_USER_NOTICE); global $db; $connection = new w2p_Database_Connection($db); return $connection->num_rows($qid); }