Re: check if image was clicked
| From: | Miguel Cruz | Date: | Wed, 22 May 2002 07:49:45 +0000 |
| Subject: | Re: check if image was clicked | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98706@lists.php.net to get a copy of this message | ||
On Wed, 22 May 2002 andrew@foxtrot.kiev.ua wrote:
> I have two images on my html form - one for submit and the other for skip
> with name="mode_skip".
> In my php script I want to check if user clicked on skip image but
> isset($_REQUEST["mode_skip"]) and !empty($_REQUEST["mode_skip"]) seems to
> always return true.
> In URL submitted I saw ...&mode_skip.x=X&mode_skip.y=Y.
> How can I determin if skip image was clicked.
It'll probably be $_REQUEST['mode_skip_x'] (and .._y if you're interested
in the particular coordinates).
miguel