-
Notifications
You must be signed in to change notification settings - Fork 0
/
kategori.php
112 lines (68 loc) · 2.96 KB
/
kategori.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
require_once 'bagla.php';
ob_start();
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Kuyumcu</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
</head>
<body>
<div class="container"><hr>
<h2 class="text-center">TALAT KUYUMCULUK</h2>
<nav class="nav justify-content-center">
<a href="index.php" class="nav-link">Anasayfa</a>
<a href="stok.php" class="nav-link">Stok</a>
<a href="marka.php" class="nav-link">Markalar</a>
<a href="kategori.php" class="nav-link">Kategoriler</a>
<a href="randevu.php" class="nav-link">Randevular</a>
<a href="calisan.php" class="nav-link">Çalışanlar</a>
<a href="musteri.php" class="nav-link">Müşteriler</a>
<a href="urun.php" class="nav-link">Ürünler</a>
<a href="satici.php" class="nav-link">Satıcılar</a>
</nav>
<hr>
<div class="row">
<div class="col-md-7">
<div class="row">
<h4 class="text-center">Kategoriler</h4>
<hr>
<table class="table" >
<tr>
<th>CATEGORY ID</th>
<th>CATEGORY NAME</th>
<th>MADE OF</th>
</tr>
<?php
$verial=$conn->prepare("SELECT * from CATEGORY");
$verial->execute();
while($veriler=$verial->fetch(PDO::FETCH_ASSOC)){ ?>
<tr>
<td><?php echo $veriler['categoryId'] ?></td>
<td><?php echo $veriler['categoryName'] ?></td>
<td><?php echo $veriler['madeOf'] ?></td>
</tr>
<?php } ?>
</table>
</div>
</div>
<div class="col-md-1"></div>
<div class="col-md-4" >
<h4 class="text-center">Kategori Ekle </h4><hr>
<form action="islem.php" method="POST">
<label for="categoryName">CATEGORY NAME </label>
<input type="text" name="categoryName" value="" ><br><br>
<label for="madeOf">MADE OF: </label>
<input type="text" name="madeOf" value="" ><br><br>
<button class="btn btn-success " type="submit" name="kategoriinsert">Tamamla </button><br>
</form>
</div>
</div>
</div>
</body>
</html>