Merhaba kodlarda nerede hata var bulamadım yardımcı olur musunuz?


BURASI ÜRÜN EKLEME FORMU

error_reporting(0);
include ('db.php');

session_start();

if (!isset($_SESSION['giris'])) {
echo header('location:index.php');
}


?>





Maksem Kontrol Panel | Kategori Ekle


































Yönetim Paneli

Ürün Kategorisi Ekle






























include ('db.php');

$kat = $bag->query("select * from kategori ORDER BY id DESC")->fetchAll(PDO::FETCH_ASSOC);
foreach ($kat as $key) {

?>


















Sil



























<script></script>

<script></script>

<script></script>

<script></script>

<script></script>

<script></script>
<script>
$(function () {
// Replace the