Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$db = Db::factory('PDO_MYSQL', $params); $stmt = $db->query('SELECT Name, Code, Region FROM album LIMIT 0, 150');
$db = Zend_Db::factory('Pdo_Mysql', array( 'host' => '127.0.0.1', 'username' => 'webuser', 'password' => 'xxxxxxxx', 'dbname' => 'test' ));
这是正确的类名
Db.php is the file name but the class is Zend_Db