| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink)
|
|
Registered User
Join Date: Mar 2007
Posts: 30
|
Hi, Does anyone knwo how to do the following easily. I want to select fields from two tables but each table is on a different database on the same server. I know how to do this in a stored procedure but mysql version is 3. Stored procedures where not available until version 5. I am looking to do this in PHP but am not sure if this can be done as you can only connect to one database at a time. |
|
|
|
|
|
#2 (permalink) |
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,513
|
unsure if it's supported in mysql3, but the query syntax is: Code:
|
|
![]() |
||
LinkBacks (?)
LinkBack to this Thread: http://www.designerstalk.com/forums/programming/27661-multiple-database-select-mysql.html
|
|||
| Posted By | For | Type | Date |
| Kaizenlog » Database 02/07/2007 | This thread | Pingback | 01-07-2007 18:31 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
![]() |