RE: [PHP] query 2 databases from one script

2001-04-03 Thread Dell Coleman
); $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&

RE: [PHP] query 2 databases from one script

2001-04-03 Thread Jason Lotito
> "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

Re: [PHP] query 2 databases from one script

2001-04-03 Thread Plutarck
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

Re: [PHP] query 2 databases from one script

2001-04-03 Thread Fabian Raygosa
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

[PHP] query 2 databases from one script

2001-04-03 Thread Michael Roark
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