yani şu şekilde;
session_start();
$id = $_GET["data"];
if(@$_SESSION['kontrolzamani'] + 3600 > time()) {
$kalanzaman = $_SESSION['kontrolzamani']-time()+3600;
echo '3'; }else if(@$_SESSION["vote"] == $id){
echo"4";
}else{
$update = $db->prepare("UPDATE octaci SET likee = likee+1 WHERE id=?");
$update->execute(array($id));
@$_SESSION["vote"] = array($id);
echo '1';
$_SESSION['kontrolzamani'] = time();
{ } }
?>