Hi!!,
I don't know PHP , but I want a piece of code which I can use in my website to keep track of the no. of visitors (aka HIT COUNTER). Please mention how to apply it in my html pages .

Recommended Answers

All 3 Replies

you cannot do this in HTML, it will only work in PHP...
I would start by creating a table somewhere in a database and setting a field in that table to 0. Once this is done add the code to increment the value of that field by 1....

do you have access to PHP or a MySQL database?

Thanks paradox814,
But is there any way to implement it without PHP or any database, because I want it for my free website which doesn.t provides access to PHP, SQL, etc...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.