saintx adlı üyeden alıntı: mesajı görüntüle
@Quismo; senin hazırladığın SQL cümlesinde değerleri bind etmek için bindValue fonksiyonu kullanılmalı, örnek verdiğin dosyadaki gibi istiyorsan;

şu kısmı;

$query = $db->prepare("UPDATE products SET
 
                                        model=?,
 
                                        ucode=?,
 
                                        fiyat=?,
 
                                        hp=?,
 
                                        yil=?,
 
                                        tno=?,
 
                                        oem=?,
 
                                        cc=?,
 
                                        taile=?,
 
                                        mtipi=?,
 
                                        stipi=?,
 
                                        ytipi=?,
 
                                        stok=?,
 
                                        makguc=? WHERE id=?
 
                                        ");
 
                                        
 
                                        
 
                                        $query->execute(array(''.$model.'',''.$ucode.'',$fiyat,''.$hp.'',''.$yil.'',''.$tno.'',''.$oem.'',''.$cc.'',''.$taile.'',''.$mtipi.'',''.$stipi.'',''.$ytipi.'',$stokadet,''.$makguc.'',$id));
şu şekilde;
	$query = $db->prepare(
		"UPDATE products SET model=:model, ucode=:ucode, fiyat=:fiyat, hp=:hp, yil=:yil, tno=:tno, oem=:oem, cc=:cc, taile=:taile, ".
		"mtipi=:mtipi, stipi=:stipi, ytipi=:ytipi, stok=:stok, makguc=:makguc WHERE id=:id"
	);
	
	$query->execute(array(
		"model" => $model,
		"ucode" => $ucode,
		"fiyat" => $fiyat,
		"hp" => $hp,
		"yil" => $yil,
		"tno" => $tno,
		"oem" => $oem,
		"cc" => $cc,
		"taile" => $taile,
		"mtipi" => $mtipi,
		"stipi" => $stipi,
		"ytipi" => $ytipi,
		"stok" => $stokadet,
		"makguc" => $makguc,
		"id" => $id
	));
düzeltip deneyebilir misin?
malesef ogün.