Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Snakeage

    PHP & MySQL Hit Counter

    Thanks Namida, i see your point about having bogus records on the database so I have decided to add them all in myself. THe only thing is that I can't figure out how to display the number of hits. At the moment I have this; $query = "update counter set count = count + 1 where parameter =...
  2. Snakeage

    PHP & MySQL Hit Counter

    Hi there, I have it working, i replaced the Programming with $page and it works fine update counter set count = count + 1 where parameter = '$page' I am now wondering if it is possible to create a new record of $page if one doesnt exist. So when the page index.php?page=Programming then this...
  3. Snakeage

    PHP & MySQL Hit Counter

    Hi there, thanks for the reply. Can i ask about your statement you made, update tablename set count = count + 1 where parameter = 'Programming' Is this the query I would use? And also would I be able to replace 'Programming' with $page so that the counter works on all the pages of my site...
  4. Snakeage

    PHP & MySQL Hit Counter

    Hi there, can someone help me out with a php hit counter where the hits are stored in a MySQL database. I have had a look at a few examples of this type of hit counter before but none of them are exactly what I want. First of all, i can connect to the database and access the right table im just...

Part and Inventory Search

Back
Top