getErrorList();
foreach ($errors as $err) {
if (!empty($err['message']) && is_string($err['message'])) {
if (error_reporting() > 0 && isset($err['file']) && isset($err['line'])) {
echo "\n';
}
switch ($err['type']) {
case MSG_ERR:
echo '
' . $err['message'] . '
';
break;
case MSG_WARNING:
echo '
' . $err['message'] . '
';
break;
case MSG_SUCCESS:
echo '
' . $err['message'] . '
';
break;
case MSG_NOTICE:
default:
echo '
' . $err['message'] . '
';
break;
}
}
}
?>
anyErrors($form_name)) {
if (isset($marker)) {
echo $marker;
} else {
echo '