forked from syahman/App4Pesima
-
Notifications
You must be signed in to change notification settings - Fork 1
/
delete.php
57 lines (31 loc) · 1.27 KB
/
delete.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<title>Apps4Pesima::Registration</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="layout.css" media="all">
</head>
<body>
<div id="wrapper">
<h2>MongoDB (<a href="create.php">C</a>)reate (<a href="read.php">R</a>)ead (<a href="update.php">U</a>)pdate (<a href="delete.php">D</a>)elete </h2>
<div class="form-container">
<h2>Padam Maklumat Kehadiran Mesyuarat Agung PESIMA</h2>
<form action="delete_f.php" method="post">
<fieldset>
<legend>Padam Maklumat Peserta </legend>
<select name="nama">
<?php
include 'config.php';
$cursor = $coll->find();
while ($cursor->hasNext()): $obj = $cursor->getNext();
echo("<option value='". $obj["_id"]. "'>" . $obj["nama"] . "--" . $obj['jabatan'] . "</option>");
endwhile;
?>
</select>
<input type="submit" name="Submit" value="Pilih" />
</fieldset>
</form>
</div><!-- /form-container -->
</div><!-- /wrapper -->
</body>
</html>