hm, it should work, allow me to run through the code:
You must first be a
registered member to view any code.
So from the top
You must first be a
registered member to view any code.
This sets the time to the time now minus 1 day. Then it queries into the database to get the number of posts made after $novatimenow (today)
You must first be a
registered member to view any code.
The it gets put into number format which removes decimal points if any.
You must first be a
registered member to view any code.
Then this is the code that is going wrong: If the current value is less than or equal to the value you just got out of the database then go through some code that adds it to the database.
You must first be a
registered member to view any code.
And then this just picks the variables from the datastore and put them in date format and number format.
You must first be a
registered member to view any code.
So that's the problem though i can't see why.