How to get the next row from the Database table?

Posted by Parth on Stack Overflow See other posts from Stack Overflow or by Parth
Published on 2010-04-28T11:17:40Z Indexed on 2010/04/28 11:23 UTC
Read the original article Hit count: 123

Filed under:
|
|

How to get the next row from the Database table? Such that the row might be incremented row that is if structure has a field called "id" then the row can be id++ or very next incremented row, but it may also b any other id containing row (NOT VERY NEXT) , (because the ids could be deleted from the table).

the point of id I am talking about is It could be 1,2,3,4.... or it could be 1,6,7,8,23.. so on.... Please help for fetching the next row in the for loop to get it checked.

© Stack Overflow or respective owner

Related posts about php

Related posts about for