will $online->today and $today ever be different
Yes, as the today field is only ever updated when they are different.
It's hard to explain, and you probably are right...but would you know a correct way of showing:
if ($today<$online->today<$today) {
If for no other reason to explain to me why it won't work...
I was thinking to seperate the "if" statements, that both do the same thing, but one of them is
if ($online->today<$today) {
and the other is
if ($online->today>$today) {
Because the problem with it seems to be the fact that I'm using a double crocodile. (i really forget the name of those little things, so i'll revert to what I learned them as when I was like 10)
In theory online->today and $today will be the same, but when a new day comes round and $today no longer equals online->today...it will reset the the downloads_today field, and change the "today" field to what it should be.