Timeleft

Discussion in 'PHP' started by radbelerwerazf, Apr 18, 2009.

  1. #1
    Hello do want to show the time (each new refresh time) after which the action will reset

     
    radbelerwerazf, Apr 18, 2009 IP
  2. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What? I have no idea what you're trying to ask.

    I can, however, tell you that:

    $Timeleft=date( '00:00:00', time( ) );

    will always return "00:00:00", which is probably not what you want.
     
    SmallPotatoes, Apr 18, 2009 IP
  3. angielski

    angielski Peon

    Messages:
    57
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Be more precise. What do you want to achevie?
     
    angielski, Apr 19, 2009 IP
  4. radbelerwerazf

    radbelerwerazf Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I want to show the time until the end I have a question can cron?
     
    radbelerwerazf, Apr 19, 2009 IP
  5. radbelerwerazf

    radbelerwerazf Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Not showing me anything I do I set cron every 10 minutes but does not show anything! Please help
     
    radbelerwerazf, Apr 19, 2009 IP
  6. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #6
    No I really don't want to.

    Peace,
     
    Barti1987, Apr 19, 2009 IP
  7. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you have a friend who knows English, you could ask him to translate your question and post it here. Otherwise I think you're just confusing people with a strange spray of words.
     
    SmallPotatoes, Apr 19, 2009 IP
  8. radbelerwerazf

    radbelerwerazf Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Nothing displays.It does not show time
     
    radbelerwerazf, Apr 20, 2009 IP
  9. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Your code has no 'echo'. Of course nothing displays.

    From your code it is very unclear what you are trying to do.

    Why don't you try this: Give us some sample inputs and show the output you would like to get from those inputs.
     
    SmallPotatoes, Apr 20, 2009 IP
  10. radbelerwerazf

    radbelerwerazf Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Echo is used obviously
    I have only question how to make in order to time showed ?
     
    radbelerwerazf, Apr 20, 2009 IP
  11. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Why don't you try this: Give us some sample inputs and show the output you would like to get from those inputs.
     
    SmallPotatoes, Apr 20, 2009 IP