Using a defined start point for the rows and an offset.
The script only returns 11 when I requested 12. I know I have more than 11. I tried the SELECT query in phpMyAdmin it works fine so it must be somehting to do with the way I'm using the code. I can't spot it. Can anybody have a read...
I'm running a query such as:
SELECT * FROM table ORDER BY field ASC LIMIT 0,10
to get the first 10 rows back. I'm gonna keep the 0 in this because it will change later.
It keeps omitting the first row.
I'm sure I've done it right. I've checked the query in phpMyAdmin and it works fine.
Any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.