<?php
$oneriKontrolSorgu = $db->prepare("SELECT * FROM suggestions WHERE forWhat = ?, wantedID = ?, oldValue = ?, newValue = ?");
$oneriKontrol = $oneriKontrolSorgu->execute(array($forWhat, $wantedID, $oldValue, $newValue));
$oneriDB = $oneriKontrol->fetch();
if($oneriKontrol){
print_r($oneriDB);
}else{
print_r($oneriKontrolSorgu->errorInfo());
}
?>dener misiniz?