Hi fellas,
I guess I'd have to say that I'm lower than a newbie, because I really have no experience with PHP. I'm working on my dad's website, which was generally set up by a company for me, and now I'm taking over. We have a consultation form that I've altered quite a bit, and it's working well. I've added in a few validations and such, but now I've hit a roadblock.
I added in a verification to make sure that 3 required fields are filled out, that the phone number is 10 digits, and that the email is verified. However, I now realize that if someone gets one of those 3 things wrong after having spent the time to fill out the consultation form, the form will be lost when the hit submit and the page tells them of the error.
I would like to avoid this by somehow storing the selected information in the forms.
I'm going to attach the PHP file in a zip file, but please be warned: I'm sure the additions I made are fairly basic and can probably be majorly improved on.
Thanks for any help guys! It's really appreciated.