This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > multiple DBs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author multiple DBs
Alexander Ross

2006-02-28, 6:19 pm

can someone point me towards a comprehensive explination of how to connect
to two different mysql databases (on two different Hosts) at the same time
using PHP. Much abliged

--
Alex


gareth

2006-02-28, 6:19 pm

You would have 2 mysql_connect() commands, each returns a link to a
particular database, then you`d code as normal using the particular link for
the database you want to work with.

Gareth
http://www.phploginsuite.co.uk/
PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.


bregent

2006-02-28, 6:20 pm

Are you trying to construct a single sql statement from 2 different data sources?
Alexander Ross

2006-02-28, 6:21 pm

yes ... sorry , should've been more specific

"bregent" <webforumsuser@macromedia.com> wrote in message
news:du1upb$1jv$1@forums.macromedia.com...
> Are you trying to construct a single sql statement from 2 different data
> sources?



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews