destoon7.0 SQL数据库读取多条数据信息

来源: destoon网站专家 日期: 2019-04-07 10:05:53 人气: - 评论: 0

destoon7.0 SQL数据库读取多条数据信息

语句如下:

$A = array();
$result = $db->query("SELECt * FROM `{$DT_PRE}table` WHERe `xxx`='yyy' ORDER BY `zzz` DESC LIMIT 0,10");
while($r = $db->fetch_array($result)) {
    $A[] = $r;
}
print_r($A);