> Are there any functions in PHP which can give us the coordinates of the
cursor when we click the mouse?
> Thanks for the replys.

If you use an image as your submit for your form, you can.

<input type="image" src="foo.jpg" name="image">

When that image is clicked on, you'll have

$_POST['image_x'] and $_POST['image_y'] as the coordinates where it was
clicked.

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to