Return back to newsletter sign up page.
{php}
$errorcode = $_GET[“errorcode”];
$errorcontrol = $_GET[“errorcontrol”];
switch($errorcode) {
case “1” : $strError = “An error has occurred while attempting to save your subscriber information.”; break;
case “2” : $strError = “The list provided does not exist.”; break;
case “3” : $strError = “Information was not provided for a mandatory field.
(“.$errorcontrol.”)”; break;
case “4” : $strError = “Invalid information was provided. (“.$errorcontrol.”)”; break;
case “5” : $strError = “Information provided is not unique. (“.$errorcontrol.”)”; break;
case “6” : $strError = “An error has occurred while attempting to save your subscriber information.”; break;
case “7” : $strError = “An error has occurred while attempting to save your subscriber information.”; break;
case “8” : $strError = “Subscriber already exists.”; break;
case “9” : $strError = “An error has occurred while attempting to save your subscriber information.”; break;
case “10” : $strError = “An error has occurred while attempting to save your subscriber information.”; break;
case “12” : $strError = “The subscriber you are attempting to insert is on the master unsubscribe list or the global unsubscribe list.”; break;
default : $strError = “Other”; break; }
echo ‘Error: (‘.$errorcode.’) ‘.$strError;
{/php}