There is no exactly equivalent to MoveNext and (I assume the existence of) MovePrev. PHP's builtin functions are not object-oriented.
There are two ways to move through a MySQL return recordset.
First is to traverse them in order. The mysql_fetch_[row|assoc|array|object]() functions fetch a row and move the recordset pointer to the next record. A simple while() loop is all that is needed, as demonstrated in the example code here:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.