I have pulled results from my database and stored them into an array. Now I want to step through the array when a next button is clicked and display the current value of the array.

I have been messing around with code all day but have got nowhere. Is there any special way to do this?