myQuery("select * from users"); // 执行查询while($row = mysql_fetch_array($pq->result) ) {echo $row["id"] .">
输入banner图图片脚本导航/分类

php入门mysql分页调用程序_MySQL

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(); // 翻页栏
?>