- layout around connect needs tidying up a bit:
$args = array($dsn);
if ($db_options) {
$args[] = $db_options;
}
$DB_....connections..... =
call_user_func_array(
array(....,connect)
$args);;
Unknown option 0 for both DB and MDB2. This didnt work, however i managed to get $db_options to have data if i did this in the interfacing class to the dataobjects
$db_options = PEAR::getstaticProperty('DB','options');
$db_options = $options;
works outside the DO not internally , therefore makes the use of a db_driver setting useless if you have to label the class externally :|