How to increase a number automatically on a monthly basis?

Discussion in 'Programming' started by irongloves, Feb 27, 2009.

  1. #1
    Hello,

    I need some help as I'm a total beginner.

    If I have a number on my website

    let's say US$ 100 and I want to set up a script that automatically increase that number of $10 every month, so next month is US$ 110 and the following month US$120 and so on, How could I do that?

    Thanks a lot
    Irongloves
     
    irongloves, Feb 27, 2009 IP
  2. playactn

    playactn Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This question is too general. What code is your site written in? PHP, html, js? Or post the snippet of code that has your $100 number. The change should be fairly easy.
     
    playactn, Feb 27, 2009 IP
  3. jimbo2779

    jimbo2779 Active Member

    Messages:
    105
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    80
    #3
    I could code you something pretty simple in PHP if you are using it. If not then I cannot help ya. PM me if you need help with it
     
    jimbo2779, Feb 27, 2009 IP
  4. irongloves

    irongloves Active Member

    Messages:
    147
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Thanks for the replies.

    The page is in plain html.

    What I need is to add a code that make me increase the number (100) of 10 every month (or better, even every 30 days).

    I thought it was simple but I was wrong.

    Thansk
     
    irongloves, Feb 27, 2009 IP