_comment_load
- Versions
- 4.7 – 6
_comment_load($cid)
Load the entire comment by cid.
Parameters
$cid The identifying comment id.
Return value
The comment object.
Code
modules/comment/comment.module, line 1105
<?php
function _comment_load($cid) {
return db_fetch_object(db_query('SELECT * FROM {comments} WHERE cid = %d', $cid));
}
?>Login or register to post comments 