I have a PHP page.
It holds the entire images inside array images
My goal is that on each NEXT the HTML page will display the next image.
I use the i var to increment by +1
But once I click NEXT, the page is refreshing and always shows i=0<? php echo get_permalink( $images[i+1] ); ?>