Jose,
Thanks for this here is what I was thinking
theme>function.php
function seconddb() {
global $seconddb;
$seconddb = new wpdb(USERNAME, PASSWORD, DATABASE_NAME, HOSTNAME);
}
add_action('init', 'seconddb');
this should connect to the DB. Now how do I create a new page with PHP. I have tried use a basic page and edit but WP stores the page files in the database and builds on the fly. This is new to me.