switch($dbtype) {
case 'MYSQL' :
include_once "unimar.php";
+ $STR=mar_connect();
break;
case 'POSTGRESQL' :
include_once "unipos.php";
throw new ErrorException($daterr);
break;
}
+return $STR;
}
function sql_close()
$dbtype=getenv("DB_TYPE");
switch($dbtype) {
case 'MYSQL' :
+ $STR=mar_close();
break;
case 'POSTGRESQL' :
break;
throw new ErrorException($daterr);
break;
}
+return $STR;
}
?>
//
//==============================================================
-mar_close()
+function mar_connect()
+
+{
+$STR="unimar.php, mar_connect\n";
+
+return $STR;
+}
+
+
+function mar_close()
{
$STR="unimar.php, mar_close\n";