Not sure if this is what you are looking for, but have you tried; <a href = "this.php?L=1stlink">First Link</a> <a href= "this.php?L=2ndlink">Second Link</a>
and then in this.php $link = $_GET["L"]; Warren Vail -----Original Message----- From: Dan J. Rychlik [mailto:[EMAIL PROTECTED] Sent: Friday, September 19, 2003 5:11 PM To: [EMAIL PROTECTED] Subject: [PHP] Reading URL is changed I am trying to figure out the best way to accomplish this task. I have one file that performs a certain amount of functions based on a user link choice. All the links point to the same document. I know I need a control structure that reads what link was read but Im not sure how to do this. for ex. <a href = "this.php">First Link</a> <a href= "this.php">Second Link</a> Im cant figure out how to read "First Link" in php so that I can execute the needed function. Has anyone accomplished this? Thanks so much in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php