| Replies
|
|
|
pleaseremove
|
Posted at 3:03 pm on Aug. 25, 2007 |
| Code: | | <a href="<?php echo $_GET['x']; ?>"><?php echo $_GET['y']; ?></a> | |
|
|
pcxjockey7
|
Posted at 1:07 pm on Aug. 25, 2007 |
Quote: from swya at 10:27 pm on Aug. 22, 2007
For example: http://somesite.com/?x=test This function would echo "test" 
how do I use the function? <a href="echo('$_GET[x]')">About Us</a>? |
|
|
swya
|
Posted at 7:27 pm on Aug. 22, 2007 |
| For example: http://somesite.com/?x=test This function would echo "test" |
|
|
PiXiE
|
Posted at 1:47 pm on Aug. 22, 2007 |
| After getting the variable, you can use it in an if statement or in a query to display the content you want. |
|
|
pcxjockey7
|
Posted at 5:32 am on Aug. 22, 2007 |
Quote: from allsmiles at 8:31 am on Aug. 22, 2007
That is a variable in the GET form. The variable (x) is referenced as $_GET['x']
How do I use it? |
|
|
allsmiles
|
Posted at 5:31 am on Aug. 22, 2007 |
| That is a variable in the GET form. The variable (x) is referenced as $_GET['x'] |
|
|
All 6 previous replies displayed. |