link selection

hello friends,

In my website i have many links that are targetted to the same php file .
for example 1. <a href="myfile.php" id="abc"> abc </a>
2. <a href="myfile.php" id="xyz"> xyz </a>
3. <a href="myfile.php" id="pqr"> pqr </a>
i have used anchor tag for links. Is it possible to find out which link is clicked at any instance?. i need the codes in php.
[458 byte] By [bal_jai] at [2007-11-20 1:10:31]
# 1 Re: link selection
The only way you could do that was to add an identifier into the URL and use $_GET['id'] on the PHP page.

<a href="myfile.php?id=abc">abc</a>
PeejAvery at 2007-11-10 3:57:08 >