User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 374,006 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,860 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 168 | Replies: 3
Reply
Join Date: Mar 2008
Posts: 53
Reputation: mrcniceguy is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
mrcniceguy mrcniceguy is offline Offline
Junior Poster in Training

Selection of databases

  #1  
Apr 15th, 2008
IS THERE A POSSIBILITY OF SELECTING TWO DATABASES/TABLES AT THE SAME TIME???
I MEAN IN ONE scripts(login.php).
Simply i need when someone login in my web,Just after login All his info two display
including his photo which is in Different database Or table.
AnyOne two help Me?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2008
Posts: 68
Reputation: queenc is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
queenc queenc is offline Offline
Junior Poster in Training

Re: Selection of databases

  #2  
Apr 16th, 2008
for tables u can use joins
Reply With Quote  
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,041
Reputation: nav33n has a spectacular aura about nav33n has a spectacular aura about 
Rep Power: 8
Solved Threads: 227
nav33n's Avatar
nav33n nav33n is offline Offline
Posting Sensei

Re: Selection of databases

  #3  
Apr 16th, 2008
2 tables at the same time, possible. 2 different databases at the same time, not possible. You have to open one database first, then the second one.

Edit: It might be possible ! Check the post by "buzz at oska dot com" here. http://nl2.php.net/mysql_select_db
Last edited by nav33n : Apr 16th, 2008 at 2:51 am.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

*PM asking for help will be ignored*
Reply With Quote  
Join Date: Mar 2008
Posts: 53
Reputation: mrcniceguy is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
mrcniceguy mrcniceguy is offline Offline
Junior Poster in Training

Re: Selection of databases

  #4  
Apr 16th, 2008
You talked about "Join"
how does it work??????
Well i passed through the link you gave me.
they are talking more about selecting Different databases,thankx.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb PHP Marketplace
Thread Tools Display Modes

Other Threads in the PHP Forum

All times are GMT -4. The time now is 10:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC