![]() |
| Home Community Mys-Script Creative Off-Topic |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#7
|
|||
|
|||
|
:o
Lol. Trust me to pick the abstract, complex way right off the bat. I'll definitely do that Brandon, thanks for suggesting it. :D EDIT: It's really hard to see if it's working, but does this look functionable to you guys? Code:
$query = "SELECT * FROM ".$prefix."vote_voters WHERE adoptableid='$id' and date = '$date'";
$result = mysql_query($query);
$ctd = mysql_numrows($result);
if ($ctd <= 9) { $addclicks = 1; }
else { $addclicks = 0; }
$newclicks = $totalclicks + $addclicks;
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Freeze ONLY the evolution, not the clicks | dulop | Questions and Supports | 2 | 09-28-2012 10:29 AM |
| Limit amount of clicks per day | SilverDragonTears | Questions and Supports | 15 | 11-29-2011 11:50 AM |
| Limit clicks/day to 10 | sensacion | Questions and Supports | 1 | 07-02-2011 05:15 AM |
| Days Instead of Clicks | alonaria | Suggestions and Feature Requests | 7 | 06-25-2011 05:27 AM |
| No Clicks at all? | rosepose | Questions and Supports | 11 | 03-07-2009 08:42 AM |
What's New? |
What's Hot? |
What's Popular? |