Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Felipe on Jul 23, 2009 12:09
open dhtmlx forum
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!
Answer posted on Jul 24, 2009 02:38
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
http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=8646&ssr=yes&s=oracle