Jump to content

form issue


pzieye

Recommended Posts

hey.I have this form:<form method="get" action="test.php"><input type="image" name="color" src="blue.png"></form>When I click the image, it sends as test.php?color.x=number&color.y=number (mouse x,y)but the point was to send like test.php?color=blueHow can I assign that in a image form?(I'll be using POST method, although it's GET on the example.. that's why I didn't just hyperlinked the image)thanks in advance.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...