Welcome Guest, Not a member yet? Register   Sign In
how to count visitors in single post
#1

[eluser]anyamanggar[/eluser]
Hello, My Names Anya Manggar, i have some problem, and i dont know what i have suppose to do. Ihave question, about how to account visitor like this : this article have been read 249 count.

please liltle help will be apriciate. Thank You
#2

[eluser]InsiteFX[/eluser]
You would need to count the url clicks on the link and store it in the database.

user clicks url link to read the post
get the current count from the database
count++ increment the count
save the new count back to the database.
display the new count for post read
#3

[eluser]astroanu[/eluser]
You can simply keep a column in the posts table called 'view' and update it by one for each post load.
#4

[eluser]anyamanggar[/eluser]
[quote author="InsiteFX" date="1343885395"]You would need to count the url clicks on the link and store it in the database.

user clicks url link to read the post
get the current count from the database
count++ increment the count
save the new count back to the database.
display the new count for post read[/quote]

is there are some tutorial for this? or web who discus this?

thanks for your kindles to answer my question.




Theme © iAndrew 2016 - Forum software by © MyBB