I want to move record next and previous record in PHP?
Does any function to make it?
In ASP, it use "movenext" ? any idea? Thanks your help.
How to move record in PHP?
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How to move record in PHP?
Are you working with a database? Which library are you using? Usually in PHP you just keep fetching rows until null is returned.
Code: Select all
while ($row = mysql_fetch($result)) {
// do something with $row
}(#10850)