);
$db2=mysql_connect($blah4,$blah5,$blah6);
would be close
HTH
-Original Message-
From: Jason Lotito [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 04, 2001 1:06 AM
To: Plutarck; [EMAIL PROTECTED]
Subject: RE: [PHP] query 2 databases from one script
> "Michael Roark&
> "Michael Roark" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've a script has many functions in it all of which hit databaseA . I've
> > added a new function which is to get data from databaseB how can I go
> about
> > this in one script when I try to
You might want to use the following function:
http://www.zend.com/manual/function.mysql-db-query.php
--
Plutarck
Should be working on something...
...but forgot what it was.
"Michael Roark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've a script has
databaseB.TABLE
basically list thedatabase in front of the table, that should be it
Fabian
- Original Message -
From: "Michael Roark" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 3:20 PM
Subject: [PHP] query 2 databases from one script
&g
I've a script has many functions in it all of which hit databaseA . I've
added a new function which is to get data from databaseB how can I go about
this in one script when I try to connect to a database other than the one
defined at the beginning of the script all the functions in the script
5 matches
Mail list logo