Jump to content

Preloader problem


duncan121

Recommended Posts

Hi

I 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
Link to comment
https://forums.phpfreaks.com/topic/7874-preloader-problem/
Share on other sites

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]
Link to comment
https://forums.phpfreaks.com/topic/7874-preloader-problem/#findComment-28705
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.