Yes, it's possible. What you do is write the var names and values after the
page name as follows:

<a href="mylink.php?foo=bar&bar=foo">click my link</a>

This would call a script called mylink.php, initializing two vars, namely
$foo (containing the value 'bar') and $bar (containing the value 'foo').

So, to pass info to a script using a link, call the script with a ? followed
by varname=varvalue, and if you need to pass more info to the script,
seperate the vars with a &


/Christian

-----Original Message-----
From: Andrew Aitken [mailto:[EMAIL PROTECTED]]
Sent: 26. juni 2001 20:56
To: [EMAIL PROTECTED]
Subject: [PHP-DB] making queries


This is just a quick question.
I'd like to no if it's possiable to make a normal link supply infromation to
a page of PHP very much like a form and if so how? Thankyou for any help at
all

Andrew Aitken



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to