PDA

View Full Version : Counter Code...


MarkFoster
04-17-2009, 01:51 AM
Is there a counter code that counts every view of a page that anybody has?

Brandon Sheley
04-17-2009, 01:55 AM
I don't understand what you're asking

you can get tons of site counters, statcounter is one

MarkFoster
04-17-2009, 02:16 AM
I don't understand what you're asking

you can get tons of site counters, statcounter is one

What exactly I mean is a little code that I place on a page that everybody can see, every time somebody visits the page the counter gets increased by one on the page.

Like the one you see on this page under the text: http://www.rarewitchproject.com/?id=1772

Lynne
04-17-2009, 03:54 AM
Did you look at the thread table in the database? There is the field called views. Did you try using it in your template?

Brandon Sheley
04-17-2009, 04:07 AM
That site doesn't load for me, but like Lynne said, it sounds like your asking for thread views ;)

MarkFoster
04-17-2009, 04:20 AM
Did you look at the thread table in the database? There is the field called views. Did you try using it in your template?

No I didn't however my DB is PHPmyadmin and when I view the views in the table thread it just has been view codes.

Since I suck at this would you be able to guide me to where I want to go?

Lynne
04-17-2009, 04:20 PM
No I didn't however my DB is PHPmyadmin and when I view the views in the table thread it just has been view codes.
I have absolutely no idea what you are saying here. When I view the thread table on my site and look at the Views column, I see numbers.

Since I suck at this would you be able to guide me to where I want to go?
Try using $thread['views']