Re: MySQL Multi-DB Join

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Rod Strumbel" <RStrumbel@xxxxxxxx>

> If you can select just one db, then what is that
> select_db command really doing?

All it's doing is issuing a "USE database" query so you can say

SELECT * FROM table

instead of

SELECT * FROM database.table

You want to use select_db() so that you don't have prefix all of the tables
in your queries with a database name.

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux