分享好友 教程资讯首页 频道列表

DESTOON列表页获取文章内容的方法

2023-10-06 20:10420

include/global.func.php 加入以下函数


  • function content($itemid) {
  •         global $db;
  •         $row = $db->get_one("SELECt * FROM {$db->pre}sell_data_5 WHERe itemid=$itemid");
  •         return $row['content'];
  • }
在循环标签中使用

{content($t[itemid])}


举报 0
收藏 0
打赏 0
评论 0