Hi,
I have the following code, which doesn't seem to work.
if (eregi("(07)|(09)",$phone)){
$feedback .= ' ERROR - No Mobile Numbers, or Premium Rate Numbers ';
} else...
If I enter 07 or 09 into the field, it doesn't give the error! Yet I have
if (eregi("(info)|(sales)|(accounts)|(webmaster)|(postmaster)",$email)){
$feedback .= ' ERROR - Please Provide Personal E-mail Address ';
} else...
And this works fine! Why won't it work for the numbers?
Cheers
Ben