Ok, so I have this vote4cash script and i need to clarify something:
Code:
function clean_request($time, $username)
{
$query = query("SELECT * FROM `votes` WHERE `playerName`='" . $username . "'");
if (mysql_num_rows($query) > 0) {
$row = mysql_fetch_array($query);
$timerequested = $row['time'];
if ($time - $timerequested > VOTE_HOURS * 3600)
query("DELETE FROM `votes` WHERE time='" . $timerequested . "'");
}
}
Wouldn't that multiply the vote hours by 3.6k? Since the vote hours are 24 it would be 86400? Does that mean it would take another 86400 hours to vote again? Thanks in advance