Validating form php
Simfatic Forms helps you to make complete, feature rich web forms and get it online quickly. This generic PHP form validator script makes it very easy to add validations to your form.We create and associate a set of “validation descriptors” with each element in the form.The “validation descriptor” is a string specifying the type of validation to be performed.For example, “req” means required, “alpha” means allow only alphabetic characters and so on.
$_GET is an array of variables passed to the current script via the URL parameters.
Moreover, since you are doing the same or similar validation for most of the forms that you make, just too much of duplicate effort is spent on form validations.
Note: You can make web forms quickly with Simfatic Forms.
We have more tutorials with other methods to send email from your website at the following links. We unfortunately cannot provide support for your code.
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.