MoveNext, MoveFirst function in PHP?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
eokorie
Forum Newbie
Posts: 2
Joined: Sat Aug 10, 2002 8:23 am

MoveNext, MoveFirst function in PHP?

Post 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
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Geschi
Forum Newbie
Posts: 21
Joined: Wed Jul 10, 2002 3:21 am
Location: Germany

Yes, there is.

Post 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);
Post Reply