in docs-6/globals.php
Active database connection.
db_set_active()
<?php global $active_db; ?>
More information about formatting options