已采纳回答 / 外星人_0005
$sql = "select * from imooc_admin limit ".($page-1) * 2 .",2 ";改成下面两行就正确了$sql = "select * from imooc_admin limit ".($page-1) * 2;$sql.= ",2 ";
2015-07-02