11-15-2011, 12:41 AM | #1 |
Registered User
Join Date: Jul 2011
Posts: 262
|
How to connect to a DB while connected to another?
I have a MYSQL database that my PHP script connects to and in this script I have a "WHILE" statement. In this WHILE statement I also want it to connect to another completely different database to look up information while of course still being in the WHILE execution and the database..
How can I do this without interupting the connection to the other database? Thanks
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
02-07-2012, 03:10 AM | #2 |
Moderator
Join Date: Sep 2011
Location: INDIA
Posts: 250
|
its a little bit tough also may cause low page downloading speed as it take time to retrieve data from 2 distinct database Why dont you prefer having a single database per application?
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
02-07-2012, 05:22 AM | #3 |
Registered User
Join Date: Feb 2012
Posts: 22
|
hi........
nice and very informative post. thanks regards, cyrusholiday http://www.cyrusholiday.info |
02-08-2012, 12:04 AM | #4 | |
Moderator
Join Date: Sep 2011
Location: INDIA
Posts: 250
|
Quote:
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
09-10-2014, 06:38 PM | #5 |
Registered User
Join Date: Sep 2014
Posts: 122
|
free php projects for all project developers. this project download website provide source code with documentation of project. this project download website provide source code with documentation of project. you may also download java projects.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|