By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,775 Members | 1,425 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,775 IT Pros & Developers. It's quick & easy.

Retrieving Hyperlink parameter values in PHP

P: n/a
I have a PHP program that creates a page with several links all to the
same URL but with different parameter values in the hyperlink e.g. <a
href="FILENAME.php?VARIABLE=123">Click Here</a>. How do I retrieve
the value of VARIABLE (=123) in file FILENAME.php?

ch***@aol.com
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
<?php
value = $_GET['variable'];
?>

I hope this answers the question that you've posted.

--
************************************
MUSIC24SEVEN
Pioneers of the
'Digital Entertainment Industry'
http://music24seven.com
************************************
"Charlie-Boo" <ch***@aol.com> wrote in message
news:3d*************************@posting.google.co m...
I have a PHP program that creates a page with several links all to the
same URL but with different parameter values in the hyperlink e.g. <a
href="FILENAME.php?VARIABLE=123">Click Here</a>. How do I retrieve
the value of VARIABLE (=123) in file FILENAME.php?

ch***@aol.com

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.