Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2002091

RE: [PHP-DB] data by link From: Hutchins, Richard (Richard.Hutchins <email protected>)
Date: 09/05/02

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 <email protected>]
Sent: Thursday, September 05, 2002 9:10 AM
To: php-db <email protected>
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

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php