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["用户名"] 。 ", ";
echo $row["密码"];
echo "
";
}
echo $pq->PageLegend(); // 翻页栏
?>