-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsignup_user.php
49 lines (35 loc) · 1.45 KB
/
signup_user.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE HTML>
<html>
<head>
<title>ELS Guest Registration</title>
<!--Please put this code in every pages-->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/main.css" rel="stylesheet" media="screen">
<!--this code is to make a responsive web design(mobile friendly web apps)-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Please put this code in every pages-->
<?php
?>
<head>
<body>
<h4 align="center">Signup User/Customer</h4>
<form class="form-signup" name="signup" method="POST" action="register_process.php">
<div id="message">
<?php
session_start();
if (isset($_SESSION['incorrect_signup']))
{
echo "<div class='alert alert-danger'>IC number has been registered already! Please use another IC number.</div>";
}
?>
</div>
<input type="text" name="IC_No" class="form-control" placeholder="IC Number" autofocus>
<input type="text" name="Name" class="form-control" placeholder="Name" autofocus>
</br>
<input type="text" name="Age" class="form-control" placeholder="Age" autofocus>
<input type="text" name="Address" class="form-control" placeholder="Address" autofocus>
<input type="text" name="Tel_No" class="form-control" placeholder="Telephone Number" autofocus>
<button type="submit" name="signup" value="submit" class="btn btn-lg btn-primary btn-block">Signup</button>
</form>
</body>
</html>