//Retrieve the comment mode for the given node ID (none, read, or read/write).
db_result(db_query('SELECT comment FROM {node} WHERE nid = %d', $nid));
//Retrieve the comment mode for the given node ID (none, read, or read/write).
db_result(db_query('SELECT comment FROM {node} WHERE nid = %d', $nid));