Friday, December 13, 2019

creating regestration form using html


<!DOCTYPE html>
<html>
<head>
  <title>Registration</title>
  <meta charset="utf-8">
  <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
  <link rel="stylesheet" type="text/css" href="css/bootstrap-theme.css">
  <link rel="stylesheet" type="text/css" href="style.css">


</head>
<body>
  <div class="header">
  <h2>Register</h2>
  </div>

  <form >
 
    <div>
    <input type="file" name="image">
    </div>
    <div>
      <label>First name</label>
      <input type="text" name="fname" >
    </div>
    <div>
      <label>Last name</label>
      <input type="text" name="lname">
    </div>
  <div>
    <label>Username</label>
    <input type="text" name="username" >
  </div>
  <div class="form-group">
    <label>Email</label>
    <input type="email" name="email"  >
  <div >
    <label>Password</label>
    <input type="password" name="password" >
  </div>
  <div>
    <label>Confirm password</label>
    <input type="password" name="password_2">
  </div>
  <div>
    <button type="submit"  name="reg">Register</button>
  </div>
  <p>
  Already a member? <button class="btn btn-primary"><a href="login.php">Sign in</a></button>
  </p>
  </form>
</body>
</html>

No comments:

Post a Comment

php udate results code

CREATE A FILE NAME IT update.php <?php session_start(); // Include config file require_once "config.php"; // Define ...