I know what it's supposed to do, and I know the outcome, but I'm having trouble determining what all the values are and why.
PHP Code:
$this->set('open', "IF(votenum >= 5 AND votetotal/votenum <= 2, 0, IF(votenum >= 5 AND votetotal/votenum >= 3 AND open=0, 1, open))", false);
This little plugin was written for me by Kirby/Andreas, but I'm sure he's pretty busy right now. So if any of you have a minute...
Why the double quotes? What are the zeros for? What does the false at the end mean?
Thanks for the help.