You are here

function regcode_count in Registration codes 6

Count codes

1 call to regcode_count()
regcode_admin_list in ./regcode.admin.php
Return the code list page content with(in) the according filter form

File

./regcode.api.php, line 158
A generic set of functions for interacting with and creating regcodes

Code

function regcode_count($where = '') {
  return db_result(db_query('SELECT COUNT(rid) AS count FROM {regcode}' . $where));
}