Making delay in php | SoloLearn: Learn to code for FREE!

0

Making delay in php

Hi guys , I am looking for a function/method to make a # sec delay before the rest of the code runs. I am acquainted to sleep() but what it does is just wait the specified time and then run the whole code at once. I don’t want that. I want to run part of the code and show it on the front and then the rest of the code execute. Hope you get what i meant. Thanks for reading :)

3/3/2020 5:57:58 PM

Farid

2 Answers

New Answer

+2

//Please read this answers in stack overflow for better understanding https://stackoverflow.com/questions/3435418/is-there-a-function-similar-to-settimeout-javascript-for-php/17252448

0

thank you . look like no options here πŸ˜”