分享好友
教程资讯首页
频道列表
DESTOON列表页获取文章内容的方法
2023-10-06 20:10
42
0
include/global.func.php 加入以下函数
function co
ntent($itemid) {
global $db;
$row = $db->get_one("SELEC
t * FROM {$db->pre}sell_data_5 WHER
e itemid=$itemid");
return $row[
'content
'];
}
在循环标签中使用
{co
ntent($t[itemid])}
举报 0
收藏 0
打赏
0
评论
0
分享
13