Victor
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] newbie question about variables
Something like the following HTML :
a href="foo.php?var=1"img src="img1.gif"/a
a href="foo.php?var=2"img src="img2.gif"/a
a href="foo.php?var=3"img
Message-
From: Cheng, Kynan (London) [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 5:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP] newbie question about variables
Hi,
I have not coded script in html before, so I was wondering if someone could
look this over briefly:
I'm a bit
: PHPBeginner.com [SMTP:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 3:00 PM
To: Cheng, Kynan (London); [EMAIL PROTECTED]
Subject: RE: [PHP] newbie question about variables
Yes, you were right, this works just the way you wrote.
And yes, there is a JavaScript way to do it, but I guess
Hello,
Is there any (easy) way to let a user to set the value of a
variable by simply clicking on a hyperlink on a web page?
I mean if I have a 3 links on a page if the user clicks on image1 to
set a variable $var=1,if clicks on image2 to set it as
$var=2,etc.
Any suggestions (including
On Mon, Apr 09, 2001 at 12:19:57AM +0300, Victor wrote:
Is there any (easy) way to let a user to set the value of a
variable by simply clicking on a hyperlink on a web page?
I mean if I have a 3 links on a page if the user clicks on image1 to
set a variable $var=1,if clicks on image2 to
Something like the following HTML :
a href="foo.php?var=1"img src="img1.gif"/a
a href="foo.php?var=2"img src="img2.gif"/a
a href="foo.php?var=3"img src="img3.gif"/a
And in foo.php have :
print $var; // 1 or 2 or 3
Also consider the following :
a href="?php echo $PHP_SELF;
Victor escribi:
Hello,
Is there any (easy) way to let a user to set the value of a
variable by simply clicking on a hyperlink on a web page?
I mean if I have a 3 links on a page if the user clicks on image1 to
set a variable $var=1,if clicks on image2 to set it as
$var=2,etc.
7 matches
Mail list logo