Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 11-15-2011, 12:41 AM   #1
ncjbhd
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.
ncjbhd is offline   Reply With Quote

Old 02-07-2012, 03:10 AM   #2
Spoint_Vinil
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.
Spoint_Vinil is offline   Reply With Quote
Old 02-07-2012, 05:22 AM   #3
cyrusholiday
Registered User
 
Join Date: Feb 2012
Posts: 22
hi........

nice and very informative post.

thanks

regards,


cyrusholiday
http://www.cyrusholiday.info
cyrusholiday is offline   Reply With Quote
Old 02-08-2012, 12:04 AM   #4
Spoint_Vinil
Moderator
 
Join Date: Sep 2011
Location: INDIA
Posts: 250
Quote:
Originally Posted by cyrusholiday View Post
hi........

nice and very informative post.

thanks

regards,


cyrusholiday
http://www.cyrusholiday.info
i am astonished what is informative here ?just a question was posted and expected answer . but i found all your post saying same words again and again .Kindly read the post and response accordingly .Please dont spam or bump the post
__________________

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.
Spoint_Vinil is offline   Reply With Quote
Old 09-10-2014, 06:38 PM   #5
project
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.
project is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:52 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.