-
Notifications
You must be signed in to change notification settings - Fork 2
/
signup.php
27 lines (27 loc) · 1.13 KB
/
signup.php
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<script type="text/javascript" src="javascript/jquery.js"></script>
<title>Sign up</title>
</head>
<body>
<div class="col-md-4">
<form method="post" action="join.php">
<p><input type="text" name="name" placeholder="Name" required style="width: 100%; padding:5px;"></p>
<p><input type="text" name="mail" placeholder="Enter your mail Id" required style="width: 100%; padding:5px;"></p>
<p><input type="password" name="password" placeholder="password" required style="width: 100%; padding:5px;"></p>
<p><input type="submit" value="Create Account" class="btn btn-block"></p>
</form>
<?php if(isset($_GET['alr'])) { ?>
<p style="color: red">Account already exists. Please login.</p>
<?php }?>
<?php if(isset($_GET['err'])) { ?>
<p style="color: red">There was error please try again.</p>
<?php }?>
</div>
<script type="text/javascript" src="javascript/myscript.js"></script>
</body>
</html>