Re: links
| From: | mnc at stoic dot net | Date: | Sun, 17 Mar 2002 21:50:44 +0000 |
| Subject: | Re: links | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88851@lists.php.net to get a copy of this message | ||
On Sun, 17 Mar 2002, Morten Nielsen wrote:
> I got a table where I on the left has a link to page1. Another place in the
> table I have a button, which also links to page1. Is it possible to tell
> which of the two links has been pressed.
> I need to know so I only show a specific message when the button has been
> pressed.
The link:
<a href="page1.html?which=1">
The button:
<a href="page1.html?which=2">
page1.html:
<? print "they clicked link number {$HTTP_GET_VARS['which']}"; ?>
miguel