Access 2nd MySQL db in PHP without mysql_select_db()

Posted by Brian on Stack Overflow See other posts from Stack Overflow or by Brian
Published on 2010-04-07T01:39:46Z Indexed on 2010/04/07 1:43 UTC
Read the original article Hit count: 304

Filed under:
|

If I select a db db1 with mysql_select_db() is it possible to access another db db2 in a query? I am looking for something like SELECT * FROMdb2.sometableWHERE 1

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql