Hello everyone, I have a problem connecting to the Database. When I execute the code at the bottom, it gives me this message: "DB Error: extension not found". It sees the DB file and the parameters are correct. I checked the include path and it was correct. Did I do something wrong? Any help would be greatly appreciated. Thank you.
require_once 'DB.php'; $user = 'foo'; $pass = 'bar'; $host = 'localhost'; $db_name = 'clients_db'; $dsn = "mysql://$user:[EMAIL PROTECTED]/$db_name"; $db = DB::connect($dsn); if (DB::isError($db)) { die ($db->getMessage()); } -- Nilaab -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php