Good Morning and thank you for your prompt reply/assistance.
I made your recommended adjustment and I'm still getting the application to write the duplicate. I found however that my DataSearch has placed a questionable line that is erroring out.
If I remove this line the script works, but it will write a duplicate. With the line in I get the following error.
Fatal error: Call to undefined function setquerybuildersource() in /public_html/add_emailaddresses.php on line 39
Below is the section related to the RecordSet with the offending Search line.
$query_getEmails = "SELECT emailaddress FROM mailmerge WHERE emailaddress = '".$_POST['emailaddress']."'";
$getEmails = mysql_query($query_getEmails, $SQL_TABLE) or die(mysql_error());
$row_getEmails = mysql_fetch_assoc($getEmails);
$totalRows_getEmails = mysql_num_rows($getEmails);
As always your assistance is greatly appreciated.