Anyone tell me why this wont workl please?
if (!eregi("^[:alnum:]+@[:alnum:]$", $email[$counting])) { error("The email address you submitted, $email[$counting], does not appear to be valied. Please check." exit; }
I'm checking for the email validity. I keep getting a false value sent, even when the address is formatted correctly. I'm just guessing my way through reg exps at the moment, so if anyone knows a good tutorisal, that wouldnt be missed either
Thanks
Andy
if (!eregi("^[:alnum:]+@[:alnum:]$", $email[$counting])) { error("The email address you submitted, $email[$counting], does not appear to be valied. Please check." exit; }
I'm checking for the email validity. I keep getting a false value sent, even when the address is formatted correctly. I'm just guessing my way through reg exps at the moment, so if anyone knows a good tutorisal, that wouldnt be missed either
Thanks
Andy