PHP Code:
function mysqlconn() {
$user = "DB_DB";
$pass = "pass";
$db = "DB_DB";
$newconnect = mysql_pconnect(localhost, $user,$pass) or die(mysql_error());
mysql_select_db($db) or die(mysql_error());
if(mysql_error()) { echo mysql_error(); }
}
The line the error references is
$user = "DB_DB";
But I included the lines around it for better insight.

Comment