galvin Posted January 19, 2009 Share Posted January 19, 2009 Is there a way with PHP to have an image show for a specified time (say 5 seconds) and THEN have code show up in place of the image? Basically, it would be like one of those "loading" images and then info shows up once it's done "loading". But my code would normally come up instantaneously (i.e. there really is no loading time occuring), I just want to force a 5-second delay. Can that be done? I know about sleep(), but I don't think that can be done just for one particular section of a page, can it? Link to comment https://forums.phpfreaks.com/topic/141497-force-a-delay-in-code-output-showing-up/ Share on other sites More sharing options...
flyhoney Posted January 19, 2009 Share Posted January 19, 2009 This sounds like a job for javascript. Link to comment https://forums.phpfreaks.com/topic/141497-force-a-delay-in-code-output-showing-up/#findComment-740647 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.