Get next and previous row from MySQL table

i made a webpage for a friend and he wanted to be able to move from one project to the next and be able to go in reverse. how can i tell the back arrow to load the previous row’s data and the next arrow to load the next row’s data?

did I word that confusing enough?