limit是mysql的語法 select * from table limit m,n 其中m是指記錄開始的index,,表示第一條記錄 n是指從第m+1條開始,取n條。 select * from tablename limit 2,4 即取出第3條至第6條,4條記錄