<?php
$oy = $_GET['oy'];
$id = $_GET['id'];
if($_COOKIE["oyun".$id]=="true" ) {
echo "Tekrar puan veremezsiniz.";
}else{
$q=mysql_query("update oyunlar set vote=vote+$oy,voteint=voteint+1 where id = '$id'");
echo "$oy puan verdiniz.";
 }
?>