-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (67 loc) · 3.05 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row text-center">
<h2>JQuary ajax and php crud.</h2>
</div>
<div class="row">
<div class="col-md-5">
<div class="alert alert-warning p-2">
<h2>Add/Update student List</h2>
</div>
<form action="" method="POST" id="subForm">
<input type="hidden" name="stid" id="stid">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" name="name" id="txtName" class="form-control">
</div>
<div class="form-group">
<label for="email">E-mail:</label>
<input type="text" name="email" id="txtEmail" class="form-control">
</div>
<div class="form-group">
<label for="pwdPass">Password:</label>
<input type="password" name="pwdPass" id="pwdPass" class="form-control">
</div><br>
<div class="form-group">
<button class="btn btn-sm btn-primary" id="subBtn">SUBMIT</button>
</div>
<div class="form-group mt-5">
<div id="message"></div>
</div>
</form>
</div>
<div class="col-md-7">
<div class="alert alert-warning p-2">
<h2>Student Information</h2>
</div>
<table class="table">
<thead>
<tr>
<th>ID</th>
<th>NAME</th>
<th>EMAIL</th>
<th>PASSWORD</th>
<th>ACTION</th>
</tr>
</thead>
<tbody id="tbody">
</tbody>
</table>
</div>
</div>
</div>
<script src="js/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous"></script>
<script src="js/custom.js"></script>
</body>
</html>