global $db; // make $db global to make it available to SQLEngine class
$dsn = "mysql://root:qwe123@localhost/sqlengine";
// $dsn = "oci8://user1:passss@sqlengine";
$db = DB::connect($dsn);
if (DB::isError($db)) { die("Cannot connect to database."); }