php
include("inc/PageQuery.inc");
$pq = new PageQuery(2); // 获取Connection
$pq->myQuery("select * from users"); // 执行查询
while($row = mysql_fetch_array($pq->result) ) {
echo $row["id"] . ", ";
echo $row["Username"] . ", ";
echo $row["Password"];
echo "
";
}
echo $pq->PageLegend(); // 翻页栏
?>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10294527/viewspace-122796/ ,如需转载,请注明出处,否则将追究法律责任。