欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

Views rows style模板重写代码_PHP教程

程序员文章站 2022-04-30 19:22:48
...
以下是代码例子。
复制代码 代码如下:

$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 ?>



www.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...