How to make a custom counter?

Discussion in 'HTML & Website Design' started by daones, Nov 14, 2007.

  1. #1
    Im looking to make an HTML counter similar to a traffic hit counter, but instead I can change the # that is displayed. Anyone know any sites where i can create this or what the code would be?

    Basically i want to make a counter that I can update to show how many websites that I have done services for to date on my website.
     
    daones, Nov 14, 2007 IP
  2. deques

    deques Peon

    Messages:
    206
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    learn some php and database programming, then you can find the answer to your question

    <?php $count = 0;
    
    $count++;
    echo $count;
    ?>
    PHP:
    too lazy to put some database codes.
    each time you load a page with that code and the there is a database connection in it, the page will increase the count by one
     
    deques, Nov 14, 2007 IP