use os ISMAP and URL change
Posted: Wed Apr 02, 2003 12:04 am
I am relatively new to PHP and have run into a problem with the use of ISMAP and how the URL changes on the mouse click.
I have the following code:
<a href="view.php">
<img src="image.jpg" ISMAP width="200" height="200">
</a>
My understanding is that the 'ISMAP' will change the URL to
'view.php?10,27' (assuming that the mouse was clicked at relative position x=10, y=27. Now I am very comfortable with accessing the variables in a PHP program when called in the following fashion:
'view.php?x=10&y=27'. But how do I access the variables when the php script is called with 'view.php?10,27' ? Any help would be greatly appreciated.
I have the following code:
<a href="view.php">
<img src="image.jpg" ISMAP width="200" height="200">
</a>
My understanding is that the 'ISMAP' will change the URL to
'view.php?10,27' (assuming that the mouse was clicked at relative position x=10, y=27. Now I am very comfortable with accessing the variables in a PHP program when called in the following fashion:
'view.php?x=10&y=27'. But how do I access the variables when the php script is called with 'view.php?10,27' ? Any help would be greatly appreciated.