时间:2021-07-01 10:21:17 帮助过:2人阅读
"/include/common.inc.php");
获取一条记录的内容
| 1 2 | $row= $dsql->GetOne("Select * From dede_* where id = $aid");echo$row[‘id‘]; | 
将查询获取总数输出
| 1 2 | $row= $dsql->GetOne("select count(*) as dd where typeid = $typeid");echo$row[‘dd‘];//输出总数 | 
将查询的若干条记录输出