首頁 >後端開發 >php教程 >Views rows style模板重写代码_PHP教程

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

WBOY
WBOY原創
2016-07-21 15:29:471151瀏覽

以下是代码例子。

复制代码 代码如下:

$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...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn