Page 1 of 1

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

Posted: Sat Nov 18, 2006 2:01 am
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

Posted: Sat Nov 18, 2006 10:54 pm
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.