Is there anyway to carry a value in php forward to a second page?
I tried doing something similar to what someone answered in this post, but it is telling me that i is undefined. I believe this is because I'm trying to use the ?i= after the action and not a link. Also I would need to have i as a variable instead of constant number. Is this possible and how would I fix this?
echo '<form action="gallery.php?i=0" method="post">
<input type="submit" name="action" value="Previous">
<input type="submit" name="action" value="Next">';