Dynamic Page Creation: PHP

is there any good tutorials on how to create a new webpage dynamically,
i want to select data from my database and i want to limit it like 16 table of content peer page once this limit is reached i want it to create a new page show rest of the data on it and so on

The mysql query would end with

LIMIT 16
1 Like