prepare("SELECT * FROM kategori where id=:id");
$kattegori->execute(array(
'id'=>$catkateg
));
$varmi=$kattegori->rowCount();
if ($varmi != 1) {
header("Location:magaza");
exit();
}
}
?>
- ">Tümü
prepare("SELECT * FROM kategori order by id DESC");
$cat->execute();
while ($catcek=$cat->fetch(PDO::FETCH_ASSOC)) {
?>
- " >
= 1) {
$adet = 12*2*($_GET['page']+1);
$baslangic=$_GET['page'] * 20;
}else{
$adet="20";
$baslangic=0;
}
$market=$baglanti->prepare("SELECT * FROM magaza order by id DESC");
$market->execute();
$market2=$baglanti->prepare("SELECT * FROM magaza order by id DESC");
$market2->execute();
$sonucsayi=$market2->rowCount();
?>
fetch(PDO::FETCH_ASSOC)) {
$kateg=$baglanti->prepare("SELECT * FROM kategori where id=:id");
$kateg->execute(array(
'id'=>$marketcek['catid']
));
$kategcek=$kateg->fetch(PDO::FETCH_ASSOC);
?>
prepare("SELECT * FROM kullanici where id=:id");
$kullanici->execute(array(
'id'=>$marketcek['kid']
));
$kullanicicek=$kullanici->fetch(PDO::FETCH_ASSOC);
?>
Güncel Fiyat: