Validating input php
This article will explain the basics in creating an email form that validates the inputs, produces errors when inputs are typed incorrectly, and send an email to you when submitted.
Using php Mailer to Send Mail through PHP How to set up Form Mail Hello Anandita, Be sure to check your code for syntax errors, particularly the placement of the quotes. You will need to speak with a developer (if you were not the author of the code), to see where the problem is occurring.
So, we need to always filter and validate the user entered before storing it in application’s database.