The way you're using LIMIT is incorrect. It's not,
LIMIT <start> <end>
but rather,
LIMIT <offset> <number_of_rows>
From the MySQL documentation,
The first argument specifies the
offset of the first row to return, and
the second specifies the maximum
number of rows to return.
So for example,
... LIMIT 0, 10 -- first 10 rows
... LIMIT 10, 10 -- rows 10-20
... LIMIT 10, 20 -- rows 10-30, not 10-20
... LIMIT 20, 30 -- rows 20-50, not 20-30
If you don't have enough rows in the resultset to fill the limit, it will just return up to the last row. For example, if you only retrieve 15 rows, ...LIMIT 10, 10 would return rows 10-15.