以下は代コードの例です。
$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 ?>
http://www.bkjia.com/PHPjc/323336.html
www.bkjia.com
truehttp://www.bkjia.com/PHPjc/323336.html
技術記事
以下はコードの例です。 再構成コードは次のとおりです。 $country = db_result(db_query('SELECT name FROM {term_data} term_data JOIN {term_node} term_node ON term_n...