Hi, i have been having trouble finding a tutorial on how to add validation to a form in php and having been pulling my hair out trying to work it out if you could help me i would be so gratefull!
Example
This will be the default value for one of the fields
Name: "Enter Your Name Here"
I would like to make it so that if
A) "Enter Your Name Here" or any other spam such as email injection to result in a error message.
B) The field has to be filled in
Also if its not to much to ask how could i validate a phone number field and a email address field.
Example
This will be the default value for one of the fields
Name: "Enter Your Name Here"
I would like to make it so that if
A) "Enter Your Name Here" or any other spam such as email injection to result in a error message.
B) The field has to be filled in
Also if its not to much to ask how could i validate a phone number field and a email address field.
Comment