想读取Discuz论坛的贴子,按人气排列,谁能指点下? ????是编码不同吧http://community.csdn.net/Expert/TopicView1.asp?id=4456072 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from cdb_threads order by views desc 找到了。不过???这个东西只能用他的模板方法来读。没搞懂<?phprequire_once './BBS/include/common.inc.php';$AAA="SELECT t.* FROM cdb_threads t WHERE t.displayorder>=0 ORDER BY t.views DESC,t.displayorder DESC LIMIT 0, 20"; $query = $db->query($AAA);while($query && $thread = $db->fetch_array($query)) { $threadlist[] = $thread;}include template('forumdisplaytest');?> php转js dom格式如何做? 请问PHP聊天室的效率问题 session是否验证cookie,不验证ip? 请问php与jsp接口,php读取数据库表并将记录集返回给jsp session类的问题 在win server上通过exec调用exe只能单进程么?不能并发调用吗? msyql奇怪的问题,求解释。 如何读取text文件,显示原样格式? 在页面中操作一个列表框的时候如何获得另一个列表框当前的值? 如何替换这个符号 求一开源程序:集同学录+博客+论坛于一体 怎么让php5 支持 mssql2000》?
<?php
require_once './BBS/include/common.inc.php';$AAA="SELECT t.* FROM cdb_threads t WHERE t.displayorder>=0 ORDER BY t.views DESC,t.displayorder DESC LIMIT 0, 20"; $query = $db->query($AAA);
while($query && $thread = $db->fetch_array($query)) { $threadlist[] = $thread;}include template('forumdisplaytest');
?>