-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathab.php
55 lines (48 loc) · 1.56 KB
/
ab.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
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<title>WORKSHOP || Saadman</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<h2>Data Collection</h2><br>
<?php
if(!empty($_GET['meg'])){
echo $_GET['meg'];
}
?>
<form class = "form-horizontal" action = "data.php" method = "POST">
<div class= "form-group" >
<label class= "control-label col-md-2" for= "name">Name::</label>
<div class = "col-md-6">
<input type="text" name="name" class = "form-control" placeholder = "Enter your full name" required>
</div>
</div>
<div class= "form-group">
<label class= "control-label col-md-2" for= "name">Email::</label>
<div class = "col-md-6">
<input type="email" name="email" class = "form-control" placeholder = "someone@example.com" required>
</div>
</div>
<div class= "form-group">
<label class= "control-label col-md-2" for= "name">Dept::</label>
<div class = "col-md-6">
<input type="text" name="dept" class = "form-control" placeholder = "Enter your Dept Name" required>
</div>
</div>
<div class= "form-group">
<label class= "control-label col-md-2" for= "name">Reg::</label>
<div class = "col-md-6">
<input type="text" name="reg" class = "form-control" placeholder = "201X331XXX" required>
</div>
</div>
<div class= "form-group">
<div class = "col-sm-offset-2 col-md-6">
<button type = "submit" class = "btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</body>
</html>