How do i store the users email and password from my website into an SQL database [closed]

I want to store the users email and password from my website in an SQL database. This is the html:

  <form class="signup" name="signupForm" onsubmit="return validatesignupForm()" method="POST">

    <label for="firstname"> First Name: </label>
    <input type="text" name="fname" id="firstname" placeholder="Enter your First Name" />

    <label>Last Name</label>
    <input type="text" name="lname" id="lastname" placeholder="Enter your Last Name" />

    <label>Email</label>
    <input type="text" name="email" id="useremailsignup" placeholder="[email protected]" />

    <label>Password</label>
    <input type="password" name="password" id="pwordsignup" placeholder="Enter your Password" />

    <label>Confirm Password</label>
    <input type="password" name="password2" id="pwordsignup2" placeholder="Confirm your Password" />

    <input type="submit" value="Sign up">


  </form>