-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustomer_add.php
More file actions
52 lines (48 loc) · 1.71 KB
/
Copy pathcustomer_add.php
File metadata and controls
52 lines (48 loc) · 1.71 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
<?php
require ('connect.php');
?>
<html>
<head>
<title>Customer details</title>
<style type="text/css">
a{
font-size: 20px;
background-color: lemonchiffon;
}
body {
background-image: url("back2.jpg");
background-color: #cccccc;
background-size: cover;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<br>
<div class="w3-bar w3-border w3-light-grey">
<a href="cashier_detail.php" class="w3-bar-item w3-button w3-hover-pale-blue" style="width: 20%">View/edit cashier details</a>
<a href="medicine_detail.php" class="w3-bar-item w3-button w3-hover-light-blue" style="width: 20%">View/edit Medicine details</a>
<a href="customer_detail.php" class="w3-bar-item w3-button w3-hover-cyan" style="width: 30%">View/edit customer records</a>
<a href="billmake.php" class="w3-bar-item w3-button w3-hover-blue" style="width: 15%">Make a bill</a>
<a href="Pharmacy_main.php" class="w3-bar-item w3-button w3-hover-indigo" style="width: 15%">Logout</a>
</div>
<h1 style="color: #FB7A53; text-align: center;">Please insert details</h1>
<br><br><br>
<center>
<form action="customer_insert.php" method="post">
<p>
Patient_id : <input type="number" name="pid" id="mid" minlength="6" maxlength="6" required>
</p>
<p>
Name : <input type="text" name="name" id="name" maxlength="75" required>
</p>
<p>
Phone_no : <input type="number" name="phone_no"
id="phone_no" required>
</p>
<p>
Address : <input type="text" name="add" id="add" required>
</p>
<input type="submit" value="Submit">
</form>
</center>