PHP קוד:
<?
require('config.php');
if ($_GET['id'])
{
$cod=$_GET['id'];
mysql_query("UPDATE `reg` SET `votes` = `votes`+1 WHERE `idshin`=$cod") or die (mysql_error());
?>
<html>
<head>
<title>äöáòä</title>
<meta http-equiv="Content-Language" content="he" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<center>
K
</center>
</body>
</html>
<?
} else {
echo "NOT K";
}
?>
חשבת לנסות את זה?
