Page 1 of 1

MoveNext, MoveFirst function in PHP?

Posted: Sat Aug 10, 2002 2:22 pm
by eokorie
Just wondering, is there a function that emulates the MoveNext and MoveFirst commands from ASP in PHP? If there is none can anyone point me in a right direction as well as some examples?

Many thanks,

Emmanuel Okorie

Posted: Sat Aug 10, 2002 5:27 pm
by twigletmac
Since my experience of ASP is limited to say the least, could you give more information as to what the MoveNext and MoveFirst commands actually do.

Mac

Yes, there is.

Posted: Sat Aug 10, 2002 8:07 pm
by Geschi
Don't know if I got exactly the thing you wanted, but try this:

MoveFirst =>

Code: Select all

reset($YourArray);
MoveNext =>

Code: Select all

next($YourArray);