Prerequisite We have to have a website in PHP/HTML with a database connection in PHP format. Here we have used HTML for the website designing the form which contains the registration of the student and in the form, we have provided the action of the PHP which contain the basic configuration of the database…