phppaper Posted June 27, 2008 Share Posted June 27, 2008 Hello How to you delay a set of script from running, what i mean is, when the browser starts to run, after 10 second the script runs but not at the same time. Thanks!! Link to comment https://forums.phpfreaks.com/topic/112203-delay-a-set-of-script-running/ Share on other sites More sharing options...
xyn Posted June 27, 2008 Share Posted June 27, 2008 i believe its sleep(); http://php.net/sleep Link to comment https://forums.phpfreaks.com/topic/112203-delay-a-set-of-script-running/#findComment-575971 Share on other sites More sharing options...
phppaper Posted June 27, 2008 Author Share Posted June 27, 2008 thanks!! I saw that page but seems that, sleep() is to delay the whole page or all follow that function, how can u just delay a set of code in the middle of all the codes?? Link to comment https://forums.phpfreaks.com/topic/112203-delay-a-set-of-script-running/#findComment-576015 Share on other sites More sharing options...
xyn Posted June 27, 2008 Share Posted June 27, 2008 Well As far as i know theres only AJAX. Link to comment https://forums.phpfreaks.com/topic/112203-delay-a-set-of-script-running/#findComment-576019 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.