dig this:
<input type="image" src="../../../images/query-round-location.gif" name="n_page" value="query_loc.php" width="112" height="26" border="0">
a coder friend of mine has written me some code...a single form might have 8 or 10 different submit images, each one of which would submit the form and lead to one of 8 or 10 different pages.
in other words, he wrote multiple submit buttons to store the current form and let the user move on to the next form of their choice.
my question involves the values that show up in $_POST. the value of the submit buttons (value="query_loc.php" in the above example) is totally ignored and i get post values for the X and Y values depending on where the user clicked.
is this the way php always behaves? i have no visiblity whatsoever to the VALUE of the image input. i can see ways around it...giving the submit buttons different names, etc. but it seems pretty involved and i don't want to insult my friend because my server config is screwy or something.
can anyone tell me more about submit images and php _post vars?