We have a very simple forum where you post topics to table "a" and post answers to table "b" in SQL.
We need to paginate the results to display the most recent 10 topics per page. The file with the code to display the topics is attached.
I also include the a file with the code to create the tables within the data base.
We are not expecting any graphical design, just the pagination php code within the [url removed, login to view] file attached.