Connect adodb 5 / Oracle

hello

I need to connect dhtmlxGrid with Oracle by adodb5, in this case, how is the code?



this is part of my code



**********************************************************************************************

include_once(dirname(FILE).‘ado_db/adodb5/adodb.inc.php’);

class DataSource

{

function getInstance ()

{

static $instance;

if (!is_object($instance)) {

$instance = NewADOConnection(DRIVER);

$instance->Connect(DB_HOST.’:’.DB_PORT, DB_USER, DB_PWD, DB_NAME) or die("No se conecto! ");

}

return $instance;

}

}

**********************************************************************************************



thanx!

Are you really need to use adodb connection in above case?
The connectors lib has not support for adodb, but it can be connected directly to oracle DB
dhtmlx.com/docs/products/kb/inde … s&s=oracle