Please Log in to join the conversation.
Please Log in to join the conversation.
Joomla and CB API both allow external database queries. See professional subscriber incubator project CB Queries (plugin.cbqueries.php) for examples on how. You can also review the code snippet below.Again, I am sorry that I am not clear....I realize a query returning no data is a working query. However, I can never get to the query stage. I cannot connect to my external database in order to make the query to the external table. That is why I am not using the Joomla (or CB) API.
if ( is_callable( array( 'JDatabase', 'getInstance' ) ) ) {
$options = array ( 'driver' => $driver, 'host' => $host, 'user' => $username, 'password' => $password, 'database' => $database, 'prefix' => $prefix );
$_J_database =& JDatabase::getInstance( $options );
} else {
$_J_database = new Database( $host, $username, $password, $database, $prefix, false );
}
$_J_database->setQuery( 'SELECT `id` FROM `my_table`' );
$_J_database->query();
No, installing just 1.4 will upgrade fine.Are you suggesting that perhaps I should upgrade to some interim versions between 1.2.3 and 1.4?
Please Log in to join the conversation.