I have 44 records in a table. I want to be able to show 20 at a time. so if I have this query:
SELECT *
FROM table
WHERE id=x
order by field desc
limit 0,20
it returns the first 20 records.
however if I have this query:
SELECT *
FROM table
WHERE id=x
order by field desc
limit 20,40
it returns 24 records instead of 20.
WHAT UP WID DAT!?!?!?