-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanager_stock_check.php
52 lines (41 loc) · 972 Bytes
/
manager_stock_check.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
<!DOCTYPE html>
<html>
<header>
<h1 style="font-size:75px">MKM Furniture</h1>
<h1 style="font-size:50px">Stock </h1>
</header>
<?php
mysql_connect("localhost","root",'');
mysql_select_db('furnitures_mkm');
$sql1="SELECT * FROM stock";
$records=mysql_query($sql1);
error_reporting(0);
include("design.css");
?>
<head>
<title> MKM Stock </title>
</head>
<body>
<center><a href="stock_sale_update.php"><button class="button">Stock Update</button></a></center>
</header>
<center>
<h1>Stock Table</h1>
<table width=75% border=1 cellpadding=1 cellspacing=1>
<tr>
<th>Furniture ID</th>
<th>Quantity</th>
</tr>
</center>
<?php
while($stock=mysql_fetch_assoc($records)){
echo "<tr>";
echo "<td >".$stock["stk_fu_id"]."</td>";
echo "<td>".$stock["quantity"]."</td>";
echo "</tr>";
}
echo "<table>";
mysql_close();
?>
<footer>..Group 33..</footer>
</body>
</html>