1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

How To Make A Simple Counter

Monday December 11, 2006
Some people like to display a web hits counter on their home pages. Instead of using a counter service, you can create your own counter using PHP. This tutorial shows how to make a counter in PHP.
Comments
December 20, 2006 at 3:33 pm
(1) Jan says:

I still don’t get it. I use Dreamweaver. Do I put this: CREATE TABLE people (name VARCHAR(30), age INTEGER, height FLOAT, date DATETIME) on an htm page??? and how does it “execute”. I’ve seen this code before, and just don’t understand how to make use of it. I have 3 web sites, and consider myself very experienced!!!!!!!

December 20, 2006 at 4:55 pm
(2) php says:

This is SQL, perhaps this article will help you understand it: http://php.about.com/od/learnmysql/p/learn_sql_free.htm

February 16, 2009 at 7:30 am
(3) lawrence says:

you dont have to put the CREATE TABLE people (name VARCHAR(30), age INTEGER, height FLOAT, date DATETIME) on an htm page. first create the table in your mysql database.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.