Code: Select all
<form
METHOD="POST" action= "./step.php?$_SESSION['nextPage']=setup">
<input type="image" src="./images/settings.png" value="setup" name="setup">
</form>http://www.theSite/step.php?$_SESSION['nextPage']=setup
However, the $_SESSION var is not changed. Is there some other syntax I must put in to make it change as the page is passed?
Alternatively I could just look on the next page for the $_POST['setup'] variable, but this doesn't work either. Does this all have something to do with the fact that my button is an image? I wouldn't think so. Let me know if you have any clues. Thanks.