It would help to know the database but in Mysql
you can just do this: if you connect to one databaseA, it is possible to
grab info from another databaseB by this format:
SELECT * FROM databaseA.TABLE
while at the same time running this query elsewhere in your functions
SELECT * FROM
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
"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 connect to
);
$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" [EMAIL
4 matches
Mail list logo