array( 'implementation' => 'PhpIsis', 'database' => 'tupi', ), 1 => array( 'implementation' => 'Malete', 'database' => 'tupi', ), ); foreach ($configs as $config) { // Get a db instance. $isis = new CinisisDb($config); // Test connection. if ($isis->db) { $result = $isis->db->read(1); $rows = $isis->db->rows(); // Format output. echo '
';
    echo "Connection test:\n";
    echo "Rows: $rows\n";
    print_r($result);
    echo '
'; } } ?>