Jump to content

counting


Kingy

Recommended Posts

i have a unique hits counter and i have a question about how to count all hits...

 

my table is:

 

unique_hits (

id

ip

expire_time

hits)

 

so say i have

 

1 | 111.111.111.111 | timehere | 17

2 | 222.222.222.222 | timehere | 3

3 | 123.321.123.321 | timehere | 10

 

what is the query and php to count total number of hits (30 in total)

Link to comment
https://forums.phpfreaks.com/topic/89879-counting/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.