Hi, I'm trying to set up a form that with two fields that a user would have to enter their email addresses into. I'm really new at PHP and wasn't sure how to go about doing this
The user would type their email address into the first field. The second field would have to match the address value that was written into the first field. The confirmed email address would then be sent as an email.
If the addresses did not match, it would display an error message saying, "Entered Email Addresses do not match. Please re-enter your information and try again. I'd also like it to give an invalid format message if anything other than an email address is entered into the form.
I'd really appreciate any help I can get with this. I'll post the code I managed to put together so far.