Jump to content


Preloader problem

  • Please log in to reply
1 reply to this topic

#1 duncan121

  • New Members
  • Pip
  • Newbie
  • 9 posts

Posted 19 April 2006 - 06:54 PM


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.


#2 ober

  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 19 April 2006 - 06:57 PM

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]

Info: PHP Manual

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users