Categories
How to find out the number of received records from the sample?
SELECT * FROM items WHERE id > :last_id LIMIT 5 This is in case there are less than 5 news in the table after :last_id
SELECT * FROM items WHERE id > :last_id LIMIT 5
Answer the question
In order to leave comments, you need to log in
num_rows function at your service
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question