取得phpcms网站下所有栏目的内容链接
程序员文章站
2022-03-31 15:53:53
...
'; $sql = '(select title,url from v9_news where catid='.$catrow["catid"].' order by id desc) UNION (select title,url from v9_product where catid='.$catrow["catid"].' order by id desc)'; $result = mysql_query($sql); while ($row=mysql_fetch_array($result)) { echo $row['url'].""; } } ?>
上一篇: 无法载入 mysql 扩展 的完美解决方案_PHP教程
下一篇: java解析xml的示例代码汇总