Generating one total from 3 different total click totals! :S

Post your Click counter digestion problems here
Post Reply
jamiehutber
Posts: 1
Joined: Sat Nov 18, 2006 1:55 am

Generating one total from 3 different total click totals! :S

Post by jamiehutber »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Just like to say how great the counter is and has brought much happiness to my site :p So here my "problem" its a not a problem as such. In a nut shell all i want to do is display 3 separate different click totals as one total! I'm only just starting java at uni so there not much hope of me doing it. :9 thought i would ask u chap(s)!

Cheers
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

This is what I found in one of the old posts:

<script type="text/javascript">var all = ccount_link[1]+ccount_link[2]+ccount_link[3]; document.write(all);</script>

Just change numbers to the IDs of the clicks you want to sum up, you can add unlimited +ccount_link[ID] to the equation.

That should get you going.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply