Skip to navigation

Question:
How to get the next recored in a php foreach structure ?

Use simple algorithms as well as simple data structures.