Jump to content

alienphp

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by alienphp

  1. Hello, I need your help. Im trying run code after few seconds (5s). I tryed sleep() function, but the sleep function stop whole page for 5seconds. I explain what to you what Im trying. I have loading bar, loading for 5s. for example: <div class="loadingbar" style="--width: 10" data-label="Loading..."></div> <?php // After 5s I need start this code and hide loading bar in this page, without redirecting. echo "sucesfully loaded" Is it possible, please? If yes, how to do? If hiding the loading bar is not possible, how to just wait 5s for the code start? Many thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.