已采纳回答 / 慕粉3129243
$begin = ($page-1)*$pageSize; $final = $pageSize; $sql = "SELECT * FROM page LIMIT ".$begin.",".$final;你换成这样试试,其中$pageSize = 10;
2016-04-16
( ! ) Parse error: syntax error, unexpected '",10"' (T_CONSTANT_ENCAPSED_STRING) in D:\wamp\www\mypage.php on line 15
2016-04-15
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in D:\wamp_demo\mypage.php on line 26
2016-03-28