Re: Reading URL is changed

From: Date: Sat, 20 Sep 2003 00:46:30 +0000
Subject: Re: Reading URL is changed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-163253@lists.php.net to get a copy of this message
That seems to work pretty good. Thank you for this technique. -Dan ----- Original Message ----- From: "Vail, Warren" <Warren.Vail@bankofamerica.com> To: "Dan J. Rychlik" <drychlik@tcsconsult.com>; <php-general@lists.php.net> Sent: Friday, September 19, 2003 7:32 PM Subject: RE: [PHP] Reading URL is changed > 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:drychlik@tcsconsult.com] > Sent: Friday, September 19, 2003 5:11 PM > To: php-general@lists.php.net > 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 >

« previous php.general (#163253) next »