The next page SQLite
#1

Hi, I need to know how to create a dialog where it shows certain data but with several example pages:
I write the clans command assuming there are 80 clans that appear only 20 in the first dialogue and with a button that says + clans, showing the following clans. I use SQLite I think the OFFSET function is used.

I await your answers.
Reply
#2

Run a query and select clans with limit 21, show the first two but store the 21st row id in a global array, when player presses the button for the next page, run a query like before but IDs must be more than the ID which is stored in that array. That's the only thing that I can think off :P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)