function comments_get_comment
Search API
7.x comments.module | comments_get_comment($comment_id) |
6.x comments.module | comments_get_comment($comment_id) |
4.x comments.module | comments_get_comment($comment_id) |
5.x comments.module | comments_get_comment($comment_id) |
2 calls to comments_get_comment()
- comments_perform_delete_comment in modules/
comments/ comments.module - "delete" a comment (actually, all we do is flag it as deleted)
- comments_popup_display_comment in modules/
comments/ comments.module
File
- modules/
comments/ comments.module, line 353
Code
function comments_get_comment($comment_id) {
$rtn = array();
$res = db_query("SELECT * FROM advising_comments
WHERE `id` = '?'
", $comment_id);
$cur = db_fetch_array($res);
return $cur;
}