I have created a simple php script that grabs news entries from a mysql database.
Currently this script selects all information from the database and displays it in a blog style format.
I am wondering how I could implement different pages so that the news page would only display the first 10 entries then there would be a previous button that would display the next 10 entries and so on.
Thanks in advance.
Currently this script selects all information from the database and displays it in a blog style format.
I am wondering how I could implement different pages so that the news page would only display the first 10 entries then there would be a previous button that would display the next 10 entries and so on.
Thanks in advance.