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(); // 翻頁欄
?>