My iPhone app connects to my PHP web service to retrieve data from a MySQL database. A request can return 500 results.
What is the best way to implement paging and retrieve 20 items at a time?
Let's say I receive the first 20 ads from my database. Now how can I request for the next 20 ads?