function answers_insert in Answers 5.2
1 call to answers_insert()
File
- ./
answers.module, line 387 - Enables the creation of question nodes that can be answered by posting answer nodes.
Code
function answers_insert($node) {
db_query("INSERT INTO {quests} (vid, nid, notifyme, answeranon) VALUES (%d, %d, '%d', %d)", $node->vid, $node->nid, $node->notifyme, $node->answeranon);
}