I have a page where I want to use small image buttons to change the main picture on the page. I'm trying to do this by using a frame that will display code from a php document with an if statement in it that will decide on the correct picture to display in the frame. I cannot get the value from the <image> tag.
this is how i have it.
<input type="image" src="http://localhost/picture1.jpg" name="picture" value="1">
<input type="image" src="http://localhost/picture2.jpg" name="picture" value="2">
now the way i want it to work is if picture equals 2, display a page and if it equals 3 display a different page. But I can't get the value from $_POST['picture'].
Is this possible with images?