duncan121 Posted April 19, 2006 Share Posted April 19, 2006 HiI have quite a simple problem whereby one of my pages does quite a large database pull. It takes about 20-30 secs depending on the server. Instead of having an empty page I am hoping to replace with a simple preloader.However all I have only found an image based or .swf based preloaders.Does anybody have a script where I can display somewhile the page is loading from the database.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/7874-preloader-problem/ Share on other sites More sharing options...
ober Posted April 19, 2006 Share Posted April 19, 2006 The best way to handle this would be to use AJAX to fill the spot on your page. While you're waiting for the operation to complete, you can fill the space with some kind of animated gif.If you're unsure of how to apply AJAX, I suggest you check out our sister freaks site: [a href=\"http://www.ajaxfreaks.com\" target=\"_blank\"]http://www.ajaxfreaks.com[/a] Quote Link to comment https://forums.phpfreaks.com/topic/7874-preloader-problem/#findComment-28705 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.