RE: [PHP-DB] data by link
| From: | Hutchins, Richard | Date: | Thu, 05 Sep 2002 13:39:14 +0000 |
| Subject: | RE: [PHP-DB] data by link | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21586@lists.php.net to get a copy of this message | ||
You have to append the data to the href then access the variable and its
value on a resulting page. In general, it would look like this (I'm sure the
list will point out any syntax errors I have made):
To send the data to another page:
<a href="foo.php?variable1=value1&variable2=value2">Click here</a>
To use the variable on another page (page.php):
$newvar = $_GET["variable1"];
All of this is explained very well in the PHP documentation.
-----Original Message-----
From: Meltem Demirkus [mailto:mdemirkus@momentum-dmt.com]
Sent: Thursday, September 05, 2002 9:10 AM
To: php-db@lists.php.net
Subject: [PHP-DB] data by link
Hi,
Is there any way to carry a data by using linking ...I mean can I put a
data on <a href..>?...If so how ?..
thanks
meltem demirkus
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php