Answer the question
In order to leave comments, you need to log in
How to output 5 lines from the end skipping the last 5 lines?
I first display the last 5 lines from the database.
Now you still need to display the last 5 lines, but skipping these lines that have already been displayed, how to do it? That is, display the last lines, not counting these, then what is before them SELECT * FROM `users` ORDER BY `id` DESC LIMIT 5
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question