时间:2021-07-01 10:21:17 帮助过:21人阅读
$nid = $row->nid;
$country = db_result(db_query('SELECT name FROM {term_data} term_data JOIN {term_node} term_node ON term_node.tid = term_data.tid WHERE term_data.vid = %d AND term_node.nid = %d', 1, $nid));
$investment = db_result(db_query('SELECT name FROM {term_data} term_data JOIN {term_node} term_node ON term_node.tid = term_data.tid WHERE term_data.vid = %d AND term_node.nid = %d', 2, $nid));
?>
content ?>
content ?>
content ?>
content ?>
content ?>
http://www.bkjia.com/PHPjc/323336.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/323336.htmlTechArticle以下是代码例子。 代码如下:
?php $nid = $row-nid; $country = db_result(db_query('SELECT name FROM {term_data} term_data JOIN {term_node} term_node ON term_n...