> -----Original Message-----
> From: HarryG [mailto:[EMAIL PROTECTED]
> Sent: Saturday, April 02, 2005 6:29 AM

> I am connecting to two database in my index.php.

If the 2 databases are on the same mysql server and the MySQL user has access 
to both databases, You can easily use join:

Select name FROM db1.members, db2.addresses WHERE db1.members.id = 
db2.addresses.member_id

Itīs been a while(years!) since Iīve used this, so Iīm sorry if the syntax 
ainīt correct.

--
Med venlig hilsen / best regards
ComX Networks A/S
Kim Madsen
Systemudvikler/systemdeveloper

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

Reply via email to