The error I'm getting is below:
Error 1064 : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"testaddy@exampleaddress.com' at line 2
This is the validation code for my email address:
if (empty($formVars["CEmail"]))
// the user's email cannot be a null string
$errorString .= "\n<br>You must supply an email address.";
elseif (!eregi($validEmailExpr, $formVars["CEmail"]))
// The email must match the above regular expression
$errorString .= "\n<br>The email address must be in the name@domain format.";
elseif (strlen($formVars["CEmail"]) > 50)
// The length cannot exceed 50 characters
$errorString .= "\n<br>The email address can be no longer than 50 characters.";
This is the test data:
testaddy@exampleaddress.com
If you need the files for context, let me know.
Thanks for any help you all can provide,
Jim