API Database "Please wait while loading"


I am using an API which downloads from a database.

The page takes about 5 seconds to load. How do I display a “Please wait while we fetch the results” page/image?


That would depend on the language you’re trying to use. It’s not a database problem.

1 Like

If you go to any travel site you will see that they say on screen “we are searching for the results” while the content is loading on the page. This is what i am trying to get.

Any type of search for AJAX in the programming language of your choice would get you what you need. My point is this is not something you can do in the database. The “We are searching for your results” message comes from your html/javascript code while you’re waiting for the database to respond.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.