Hi,
I'm new to using PEAR and I'm trying to connect to a mysql database using it's DB package.
Here's the code I have:
require '/usr/local/lib/php/DB.php';
$dbh = DB::connect('mysql://myusername:mypassword@localhost/mydb');
print "Connected to 'mydb'";
It seems to load the DB.php file properly because if I comment out line 2, it displays line 3 without any errors. However, when I try to connect to mysql, the page is blank. No errors, nothing.
Any ideas?