Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • Countdown using PHP or Jquery

    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 415
    Answer it
    <?php     $time=time();
                  if($userInfo['deleteTime'] < $time_out){
                  $countTime=$userInfo['deleteTime'] - $time_out
                     <small class="showExpire"><i class="glyphicon glyphicon-time" style="color:#F00"> </i> Timeout</small> |
                     <a href="#" rel="<?php echo $userInfo['reqID']; ?>" class="confirmDelete"> Delete </a>
                     <?php }else { ?>
                     <i class="glyphicon glyphicon-remove-sign" style="color:#F00"> </i> Recieved
                    <?php } } ?>


    so the above code work like

    when a user delete something then he/she has 24hrs to reverse back the delete option and if 24hrs are finished then timeout message will be printed so want I want is that the user must be aware of the time in countdown manner every user when delete records then for that record the time should stats for 24 hr in a reverse manner so that he/she can know how much time he/she has left

    how can I do this ?

 1 Answer(s)

  • Hello Sir,

    If you want to build countdown you should use Count Everest Countdown plugin. It is premier jquery plugin. Kindly check the link below.




Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: