76c76,93
< <dd>If this table is held in a different database from your Drupal database, specify it as a string in the exact same format as the settings.php file. This is a special purpose variable that will probably be only used in site specific code, and <b>it must be teh same database type as your Drupal database</b>. Also, don't try to join it to any table that isn't in the same database. That'll just create all kinds of silly errors.</dd>
---
> <dd>If this table is held in a different database from your Drupal database, specify it as a string in the exact same format as the settings.php file. This is a special purpose variable that will probably be only used in site specific code, and <b>it must be the same database type as your Drupal database</b>. Also, don't try to join it to any table that isn't in the same database. That'll just create all kinds of silly errors. For example:
> <pre>
>   //in settings.php for your site
>   //your drupal (site) database needs to be called 'default'
>   $db_url['default'] = 'mysqli://user:pass@host/drupal_db';
>   $db_url['budget'] = 'mysqli://user:pass@host/other_db';
> </pre>
> Then when you are describing the external database in your base table you would write something like this:
> <pre>
>   $data[$table]['table']['base'] = array(
>     'field' => $primary_key,
>     'title' => t($table_display_name),
>     'help' => t($table_display_description),
>     'database' => 'budget',
>     'weight' => -10,
>     );
> </pre>
> </dd>
