$sql = "SELECT*FROM page LIMIT" .($page-1)*10.",10";
$begin = ($page-1)*$pageSize;
$final = $pageSize;
$sql = "SELECT * FROM page LIMIT ".$begin.",".$final;
你换成这样试试,其中$pageSize = 10;
$SQL="SELECT*FROM page LIMIT.'($page-1)*10'.,10";用单引号~非要如果里面两个双引号。可以用/"转义。