-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackDel.php
More file actions
31 lines (23 loc) · 1.11 KB
/
packDel.php
File metadata and controls
31 lines (23 loc) · 1.11 KB
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
<?php require("connection.php");
require("../credentials.php");
session_start();
if(!isset($_SESSION['admin_username']))
{
header("location: admin_login.php");
}
?>
<form method="POST">
Select Package to Delete: <select name="delPackID">
<?php
$queryDel="SELECT * FROM `package`;";
$resultDel=mysqli_query($connectionObj,$queryDel);
while($row=mysqli_fetch_array($resultDel))
{
$Package_name=$row['Package_name'];
$packageID=$row['Package_ID'];
echo "<option value=$packageID> $packageID - <b>$Package_name</b> </option>";
}
?>
</select>
<button type="submit" name="delete-btn" class="activityButton">DELETE</button>
</form>