getAttribute(PDO::ATTR_DRIVER_NAME); include_once ADODB_DIR . '/adodb-datadict.inc.php'; include_once ADODB_DIR . '/drivers/datadict-' . $dbtype . '.inc.php'; $class = "ADODB2_$dbtype"; $dict = new $class(); $dict->connection = $conn; $dict->upperName = strtoupper($dbtype); //$dict->quote = $conn->nameQuote; //$dict->debug_echo = $conn->debug_echo; return $dict; } class ADOFieldObject { public $name = ''; public $max_length=0; public $type=""; }