Jump to content

yjim

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Everything posted by yjim

  1. ok, i need help on how i could code this in php. i have a mysql table that stores the user's timestamp when he clicked on the link and it resets every 24 hours with a new timestamp and the hits also will reset. here's an example table: -------------------------------- USER TABLE -------------------------------- user | timestamp | hits ------------------------------------------------- user1 1261946304 1 user2 1261944605 2 user3 1261944530 2 user4 1261944470 1 user5 1261944067 2 im not sure how to approach this, but how could i get the total average number for the hits in the last 24 hours only?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.