Im curious how the various db abstraction layers that are set up like Tim's Database Abstraction Layer handle multiple database connections within 1 page? As far as I can tell there is nothing in the code that helps a db_query() call determine which conection to use, short of just useing whatever was the last globally set information. I like the simplicity of those types of abstraction layers, but this seems a little dangerous (read: I might rather go OO than do it that way)