I have two databases - one is for drupal data. The other db is for customer data. Inside the customer data db is a table - customer_data.
I want to do a select * on customer_data in the customer database and show the result on screen.
Can someone tell me how to do this?
$items['mypath/%object'] = array(
'title' => 'Page title',
'description' => 'Your description goes here.',
'access arguments' => array('permission string'),
'page callback' => 'customer_display',
);