-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sign Up Page Code.html
44 lines (37 loc) · 1.35 KB
/
Sign Up Page Code.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
session_start();
include 'connection.php';
if (isset($_POST['submit'])) {
$username =$_POST['username'];
$password=$_POST['password'];
$insertquery = "insert into signup (username, password) VALUES ('$username','$password')";
$iquery = mysqli_query($con, $insertquery);
if($iquery) {
echo("Sucess" ) ;
header("location: http://localhost/SUMIT/ques6.php");
}else{
echo("failed");
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Sign Up Details</title>
<link rel="stylesheet" href="selector.css">
</head>
<body background="image14.png">
<style> a{text-decoration: none;} </style>
<div style="margin-right:150px; margin-left:150px; margin-top:60px; margin-bottom:60px; padding:30px; border:10px solid black; border-radius: 50px; background-color: silver;">
<FORM name="signup" Action="" Method="post" autocomplete="off">
<center><H1 id="heading">SIGN UP DETAILS</H1><BR><BR><BR><BR>
<h2>USERNAME : <INPUT TYPE="TEXT" NAME="username" SIZE="30" placeholder="Enter your username" REQUIRED>
<BR><BR><BR>
PASSWORD : <INPUT TYPE="PASSWORD" NAME="password" SIZE="30" placeholder="Enter your password" REQUIRED>
<BR><BR><BR><BR><BR></h2>
<button name="submit" class="button" style="padding: 7px; border-radius: 20px;">Proceed to Payment Gateway</button><BR><BR><BR>
</center>
</form>
</div>
</body>
</html>