I am using wamp, and the database seems to be updating the username and password, just for some reason wont send out emails. In this example, we have displayed many text fields, radio button, Reset button and Submit Form button. The backend database is MySql. W3Schools is optimized for learning, testing, and training. Add this code in your php file later we add custom style. After logging in, we make sure that the table is existing. So, to avoid this kind of problem, all you need to do is validate it on server side.
Sending emails Now that we have the registration in our database, we will send a confirmation email to the user. If you will not enter value in text field than an error message will be show. We have used Reset button that resets all fields to blank. We can use the free to add form validations quickly and easily, with lesser code. Here is how we save the form submission to the database.