You need to use the LIMIT clause in your SELECT statement. Limit uses an offset and number of records, so
SELECT * FROM table LIMIT 0,30 /*first 30 recs*/
SELECT * FROM table LIMIT 30,30 /*next 30 recs*/
SELECT * FROM table LIMIT 60,30 /*next 30 recs*/