# Get next and previous row from MySQL table

**URL:** <https://forum.kirupa.com/t/get-next-and-previous-row-from-mysql-table/233389>\
**Category:** Uncategorized\
**Created:** [July 23, 2007, 5:04pm UTC](https://forum.kirupa.com/t/get-next-and-previous-row-from-mysql-table/233389 "2007-07-23T17:04:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scaryonly](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@scaryonly](https://forum.kirupa.com/u/scaryonly)\
**Post date:** [July 23, 2007, 5:04pm UTC](https://forum.kirupa.com/t/get-next-and-previous-row-from-mysql-table/233389/1 "2007-07-23T17:04:02Z")

</div>

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?
