-
Notifications
You must be signed in to change notification settings - Fork 0
/
editformpage.php
71 lines (49 loc) · 1.5 KB
/
editformpage.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
require('dbconfig.php');
<!DOCTYPE html>
<html>
<head>
<title>workshop || Instructor</title>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<?php
if(!empty($_GET['meg'])){
echo $_GET['meg'];
}
?>
<body>
<div class="container">
<h2> Data Collection</h2>
<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="email"> Email: </label>
<div class="col-md-6">
<input type="email" name="email" class="form-control" placeholder="[email protected]" required>
</div>
</div>
<div class="form-group">
<label class = "control-label col-md-2" for="dept"> Dept: </label>
<div class="col-md-6">
<input type="text" name="dept" class="form-control" placeholder="E.g. CSE , PME" required>
</div>
</div>
<div class="form-group">
<label class = "control-label col-md-2" for="reg"> 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>
</form>
</body>
</html>
?>