So far, im trying to do this
<?php
Code: Select all
if (isset ($_POST['back'])) {
$variable = variable + 1;
} else {
$variable = variable + 2;
}
?><form method="post" action="player.php"><INPUT TYPE="image" src="player/back.jpg" name="back" value="1">
Now, if I click the button, shouldnt it "SET" the "back" variable and my above PHP script would work? Im confused, if anyones got any suggestions, I would appreciate it