Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

[PHP-DB] making queries From: Christian Sandfeld (csa <email protected>)
Date: 06/27/01

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:Andrew <email protected>]
Sent: 26. juni 2001 20:56
To: php-db <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: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>