Hi. For some reason i am getting a parse error from the following line;
if (!preg_match("/[0-9a-z]([-_.+]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,}$/", $email) { error("The email you submitted is not in the correct format! This address will be used to contact you regarding your submission, and nothing else!" }
Can anyone see a reason why?
Thanks
Andy
if (!preg_match("/[0-9a-z]([-_.+]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-z]{2,}$/", $email) { error("The email you submitted is not in the correct format! This address will be used to contact you regarding your submission, and nothing else!" }
Can anyone see a reason why?
Thanks
Andy