From the small business owner to the student creating a class project, or even casual individuals working on a blog or personal project online, HTML knowledge is incredibly useful.
Although the prospect of having to learn a programming language certainly does seem daunting, the good news is that HTML uses common words so that it is fairly simple to pick up.
In the previous chapter, all input fields were optional.
In the following code we have added some new variables: $name Err, $email Err, $gender Err, and $website Err.
These error variables will hold error messages for the required fields.