# Displaying Next Record in PHP

**URL:** <https://forum.kirupa.com/t/displaying-next-record-in-php/163961>\
**Category:** programming\
**Created:** [September 27, 2005, 5:46pm UTC](https://forum.kirupa.com/t/displaying-next-record-in-php/163961 "2005-09-27T17:46:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashrafzia](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@ashrafzia](https://forum.kirupa.com/u/ashrafzia)\
**Post date:** [September 27, 2005, 5:46pm UTC](https://forum.kirupa.com/t/displaying-next-record-in-php/163961/1 "2005-09-27T17:46:54Z")

</div>

Hello to All:

What’s the proper method for retrieving Next record from mysql database, Not the whole record just next record, in the same way previous record.

Can anyone show me an example (of code).
