Quoting Gavin Amm <[EMAIL PROTECTED]>:
> I'm wanting to retrieve data from my database using 2 conditions in the
> WHERE clause.
> How do i pick up 2 different variables from the URL?
> i can get just 1 variable easily (eg:
> My question essentially is: what string do do i need to type into the URL to
> pick up the 2 variables like this:
> $var1 = $_GET['var1'];
> $var2 = $_get['var2'];
> Do I need to start messing around with strings? or is there an easy way?
'&' is the default url parameter seperator. The rest of your code looks fine.
(course there are lots of other ways to go about it).
Ryan T. Gallagher
International Studies Abroad
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php