on 4/16/02 3:26 PM, Uchendu Nwachukwu at [EMAIL PROTECTED] wrote:

Is there anyway I can use server-side imagemaps with PHP? I want to build an
application that lets people click on a picture, and have the coordinates of
the click on the picture be stored in a database. I've searched www.php.net
and it makes no mention of it.

TIA.

If I understand correctly, you want to know how to have to have the
coordinates of a click sent to your script.  Use html something like this to
do that:
<form method=get action=yourscript.php>
<input type=image src='/path/to/your/image.jpg'>
</form>

That would generate a query string something like
"yourscript.php?x=138&y=327".  From there, you can do whatever you want with
the values.  Hope that helped! 

Reply via email to