Jump to content
MakeWebGames

Recommended Posts

Posted

well, I messed up the days old in my game. Testing some stuff and manually running the daily cron. didn't realize the results :? learn by mistakes I guess. Now my days old doesn't correspond with the signed update. Is there a query that I can run on the db to fix this or am I doomed to change each one manually.

Thanks

Posted

Re: days old sql query?

it looks like a $ was missing on the following line:

$amount = amount - 86400;

I will have to verify that it was the correct amount of days now.

Thank you lostone

I am almost scared to run this on my live site..... :-o

LostOne...thankyou very much that did the trick.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...