-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminsearch.php
50 lines (36 loc) · 1.15 KB
/
adminsearch.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
<?php
include 'data.php';
if(isset($_GET['search']))
{
$search = mysqli_escape_string($con , $_GET['search']);
echo "<script> location.href='adminallevent.php?name=".$search."' </script>";
}
elseif(isset($_GET['search1']))
{
$search = mysqli_escape_string($con , $_GET['search1']);
echo "<script> location.href='admindeletedevent.php?name=".$search."' </script>";
}
elseif(isset($_GET['search2']))
{
$search = mysqli_escape_string($con , $_GET['search2']);
echo "<script> location.href='adminexpiredevent.php?name=".$search."' </script>";
}
elseif(isset($_GET['search3']))
{
$search = mysqli_escape_string($con , $_GET['search3']);
echo "<script> location.href='adminalluser.php?name=".$search."' </script>";
}
elseif(isset($_GET['search4']))
{
$search = mysqli_escape_string($con , $_GET['search4']);
echo "<script> location.href='adminbookedtickets.php?name=".$search."' </script>";
}
elseif(isset($_GET['search5']))
{
$search = mysqli_escape_string($con , $_GET['search5']);
echo "<script> location.href='createdallevents.php?name=".$search."' </script>";
}
else
{
}
?>