Assign page numbers to a field in a MySQL db based on 2-letter abbreviation of a name field, with a user defined upper limit of records per page.