I have a form with several inputs. The submit "button" is actually an image and when clicked will submit the form. What I want to do is get the coordinates of the mouse click from that image when submitted. How can I do this in PHP?
Here is the html code for the form:
[FONT=courier new]<form action="ascript.php" method="post" name="mm5">
<INPUT NAME="map" TYPE="image" VALUE="mapvalue" SRC="someimage.gif" width="400" height="129">
</form>[/FONT]
I need the coordinates of where that image was clicked also to be submitted with the form. I think the above code will do that, but how do I get PHP to get those coordinates?