mysql error description not showing


I have this piece of code part of a larger code block:

$page = ‘…/…/register.php’;
$msg = $error[‘register’];
$msg = $msg . mysql_error($link);
header(“Location: templates/frontend/error.php?msg=$msg&page=$page”);

everything works if I remove the “$msg = $msg . mysql_error($link);” line. the line bellow comes from a language, file and if the Mysql_error is not on the line, it shows up. with the mysql_error, just get ablank line

Any help please?

No one Please?

Sponsor our Newsletter | Privacy Policy | Terms of Service