So I guess you was born with knowledge in coding ?
Really ? Read basic PHP documentation to learn where to put a line of code, are you serious?
If you did not want to help then why bother replying, there are people here more than happy to help and I thank them for that, last thing I need is a moaner.
What has this world come to, now I can't ask fellow humans for help.
"as to the validation section of your php code, you should use an array to hold the validation error messages, then at the end of the validation section, if there are no errors, the array will be empty, use the submitted form data in the rest of the code. if there are validation errors, you would display them, along with re-displaying the form. "
My friend I don't know zilch about coding, none of this makes sense, I run a business and need some tiny help to help me improve it, you can't expect me to learn all of the above to be able to code one line. Please be realistic.