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


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

Reply via email to