Our Scripts Vault contains many game scripts that you can use to create your own game!
$r = mysql_query("select count(*) from votes where id = $userid and voted_at = $today");if (mysql_fetch_array($r)[0] == 0) mysql_query("insert into votes ...");