hai all
when i connected pear-db to mysql it showed me these errors

Parse error: parse error, unexpected T_VARIABLE in /usr/share/pear/DB.php on line 535

Fatal error: Undefined class name 'db' in /var/www/html/squirrelmail/plugins/bayesspam/setup.php on line 6

I had edited db.php and added following lines

$dsn = "mysql://bayesuser:redhat@localhost/bayesspam"
$conn = DB::connect ($dsn);
if (DB::isError ($conn))
die ("Cannot connect: " . $conn->getMessage () . "\n");


but it is not working .i had created a databse named bayesspam inmysql with user bayeuser
can anyone suggect me a solution.
regard

manik