944,045 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 3157
  • PHP RSS
Jul 26th, 2006
0

multiple select database

Expand Post »
Hi friends
In my application i need to connect multiple database.First i connect one database and got the value then i connect another database to insert the values . If any possible to two database to connect single application .
Please send me your suggestion .

Thanks
vssp
Similar Threads
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006
Jul 26th, 2006
0

Re: multiple select database

you can use the following query:

INSERT INTO DB1.table1 (fieldlist) SELECT fieldlist FROM DB2.table2

From a php view you only need to mysql_connect, and you can skip the mysql_select_db
Sponsor
Featured Poster
Reputation Points: 556
Solved Threads: 732
Bite my shiny metal ass!
pritaeas is offline Offline
4,196 posts
since Jul 2006
Jul 27th, 2006
0

Re: multiple select database

Thanks for your replay

vssp
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: dynamic combo load problems
Next Thread in PHP Forum Timeline: opening files with read and write access





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC