Jump to content


how to see how many times a page is viewed


1 reply to this topic

#1 tiki

    Young Padawan

  • Members
  • Pip
  • 259 posts
  • Gender:Male
  • Location:California

Posted 22 March 2006 - 10:34 PM

Ok I am creating a tutorials database, and in the table there is a row called views.
How would I make it increase everytime someone looked at that page?

Also how would I set it up, using int()?

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 22 March 2006 - 11:13 PM

You can set up the database using pretty much any text/numeric type, but this is a rather common question, and has been asked before.

http://www.pixel2life.com/tutorials/PHP_Co...tion_and_Stats/

Please use the search features.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users