Re: query 2 databases from one script

From: Date: Wed, 04 Apr 2001 03:08:30 +0000
Subject: Re: query 2 databases from one script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46955@lists.php.net to get a copy of this message
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" <mroark@verio.net> wrote in message news:5.0.2.1.0.20010403171805.00acf6e0@mail.verio.net... > 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 > break as if I am setting the wrong database at the top of the script. Any > help would be greatly appreciated. > > Michael Roark > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#46955) next »