In all the edits, it appears that it got left out, or as I look closer, perhaps I never added it or understood how to construct it. I'm very comfortable with the client side validation setup, but this is my first use of the server side validation.
What I'm trying to limit would be to restrict duplicate email addresses from being written to the MySQL table. Below is my first attempt to construct the server side validation.
<?php
if (isset($_POST["Insert"])) {
$WAFV_Redirect = "";
$_SESSION['WAVT_addemailaddresses_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];
}
$WAFV_Errors = "";
$WAFV_Errors .= WAValidateRT(((isset($_POST["emailaddress"]))?$_POST["emailaddress"]:"") . ""," $row_getEmails['emailaddress'] | $row_getEmails['emailaddress'] ",true,1);
if ($WAFV_Errors != "") {
PostResult($WAFV_Redirect,$WAFV_Errors,"addemailaddresses");
}
}
?>