help php problem!

Discussion in 'PHP' started by whiteblue1942, Apr 16, 2008.

  1. #1
    what is the php or mysql command where you can update your databse like every 24 hours?

    like if i want to add 5 to some number in my database every 24 hours automatically how would i do that?
     
    whiteblue1942, Apr 16, 2008 IP
  2. Ikki

    Ikki Peon

    Messages:
    474
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to set up a Cron Job for that ;)

    Ask your host if Cron Jobs are allowed. If so, ask them to help you with your script.

    Hope that helps!

    P.S.: Actually, someone else has just posted about Cron Jobs here. I thought you might be interested to know ;)
     
    Ikki, Apr 16, 2008 IP
    whiteblue1942 likes this.
  3. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #3
    Just use a remote access to your database, in that way you wont need to think about your query
    its like editing your whole database like you were writing in a MS Excel Spreadsheet..
     
    bartolay13, Apr 16, 2008 IP
    whiteblue1942 likes this.
  4. whiteblue1942

    whiteblue1942 Peon

    Messages:
    573
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #4
    how do i do that?
     
    whiteblue1942, Apr 17, 2008 IP
  5. whiteblue1942

    whiteblue1942 Peon

    Messages:
    573
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #5
    nevermind got it thank you guys so much! rep added to both!!!
     
    whiteblue1942, Apr 17, 2008 IP