Pass the vars the same way. Use $_GET['bname'] to retrieve the var.
----- Original Message -----
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 19, 2002 1:54 PM
Subject: [PHP] pass var through URL String
> Hi All,
> Using a link <a href=\"bla.php?bname=$bname\">$bname</a> I could pass
> $bname to another page and using "SELECT * FROM table WHERE bname =
> \"$bname\""; I could get all I need from the db on the new page. Now
> that globals have been turned off and superglobals are replacing them.
> How should I pass and catch the var?
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php