Move to next record query

I’ve got an internal message system which displays the message correctly, I want to create a next button on the page which moves to the next unread message.


$query2 = "SELECT * FROM messages WHERE receiver = '$receiver' AND status = 'u'";
$result2=mysql_query($query2);
while($row2=mysql_fetch_assoc($result2)){
echo $row2['message_ID'];
echo "</br>"; 
}

This gives me a list of all the message_ID’s that are to the recipient and are unread. If the current message_ID is 16, how do I move to the next record, baring in mind it may/maynot be the next sequential number.

Any help as usual appreciated.

Cheers