This would be extremely simple to pull off, but it is not really pagination. On initial pageload, you would count all records in the database, and show the data for the first 10 records. If the count is higher than 10, you show the more button. When the more button is clicked, use JS to count what you have now, then do an ajax request for the next ten records, starting with the count +1. Pass the current number along with the ajax request so that you have an offset for your query. When you have reached the count from the initial pageload, disable or hide the more button.