Hello, All. I am error checking a bunch of fields for data. If they all contain data, control jumps to the corresponding else statement.
Within that else statement, I force the code to check the format of an e-mail address. If that test passes, it will check the format of a phone number. And if that test passes, it will check the format of a fax number. If all these tests pass, control will connect to SQL and do its dirty work.
It seems that all goes well until code checks the format of the phone number...Even if the phone number is entered correctly, code sill defaults to the "incorrect format" error.
I have worked hard on the code, and I do not know why it is defaulting to this error message.
I have attached the form along with the PHP code, all in one document.
Thanks for any and all help!!! I know it's long and confusing, but many heads are better than one...I really appreciate this for those who help!!!
Mike
Mike