-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetails.php
More file actions
58 lines (56 loc) · 1.74 KB
/
details.php
File metadata and controls
58 lines (56 loc) · 1.74 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
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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title> Select Option </title>
</head>
<body style="background-color:skyblue">
<hr />
<center> <h2> What do u want to do? </h2> </center>
<hr />
<center>
<form #action="details.php" method = "post">
<table>
<tr>
<td> <br /> <input type="radio" name="medentry" value="medentry"> Enter Details of Medicine </td>
</tr>
<tr>
<td> <br /> <input type="radio" name="medentrycom" value="medentrycom"> Enter Details of Medicines Produced by Companies </td>
</tr>
<tr>
<td> <br /> <input type="radio" name="medentryven" value="medentryven"> Enter Details of Medicines Supplied by Vendors </td>
</tr>
<tr>
<td> <br /> <input type="radio" name="customer" value="customer"> Enter Details of Customer </td>
</tr>
<tr>
<td> <br /><h3> Choose an option to view details of: </h3></td>
</tr>
<tr>
<td> <br /> <input type="radio" name="manager" value="manager"> Manager </td>
</tr>
<tr>
<td> <br /> <input type="radio" name="managed" value="managed"> Store Managed by Given Manager </td>
</tr>
<tr>
<td> <br /> <input type="radio" name="storedet" value="storedet"> Store Details </td>
</tr>
<tr>
<td> <br /> <input type="radio" name="storedetloc" value="storedetloc"> Store Details at given Location</td>
</tr>
</table>
<br /><br /><input type ="submit" value="Proceed">
</form>
</center>
<?php
if(isset($_POST['medentry']))
header ("Location:medicine.php");
if(isset($_POST['medentrycom']))
header ("Location:company.php");
if(isset($_POST['medentryven']))
header ("Location:vendor.php");
if(isset($_POST['customer']))
header ("Location:customer.php");
?>
</body>
</html>