由二次开发,模板制作于2019-12-02 02:47回答
不支持您要导出什么形式,可以加我的qq 366131726 帮您解答! 给您如下的代码参考:
$result = [];
$where = " WHERE 1 = 1";
$sql = "SELECT id, title, content, image, cat_id, add_time, click, description FROM " . $dou->table('article') . $where . " ORDER BY id DESC";
$query = $dou->query($sql);
while ($row = $dou->fetch_array($query)){
$result[] = $dou->rewrite_url('article',$row['id']);
}
echo implode("<br/>",$result);
$result = [];
$where = " WHERE 1 = 1";
$sql = "SELECT id, title, content, image, cat_id, add_time, click, description FROM " . $dou->table('article') . $where . " ORDER BY id DESC";
$query = $dou->query($sql);
while ($row = $dou->fetch_array($query)){
$result[] = $dou->rewrite_url('article',$row['id']);
}
echo implode("<br/>",$result);
有用(0) 没用(0)