Variables in the URL
| From: | RaNd0M | Date: | Thu, 22 Aug 2002 23:27:52 +0000 |
| Subject: | Variables in the URL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113692@lists.php.net to get a copy of this message | ||
I have seen someone doing this in a script, but it don't work for me, and I
didn't find documentation about it
-----------------------------------------------------------------
In foo.php:
<? echo "<a href='bar.php?color=blue'>Blue</a>"; ?>
In bar.php:
<? echo "You have choosen $color"; ?> // Should print blue?
-----------------------------------------------------------------
Whats the deal with php?x=y links ?
Regards
(RaNd0M)