You are here

function answers_count_answers in Answers 5.2

1 call to answers_count_answers()
theme_answers_list in ./answers.module

File

./answers.module, line 491
Enables the creation of question nodes that can be answered by posting answer nodes.

Code

function answers_count_answers($nid) {
  return db_result(db_query('SELECT count(nid) FROM {answers} WHERE qid = %d ', $nid));
}