mysql query status bar

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
nates310
Forum Newbie
Posts: 8
Joined: Sat Sep 23, 2006 11:53 am

mysql query status bar

Post by nates310 »

I run a query on my mysql data base that takes about 5 seconds. I'm worried someone won't know that their info is on the way and will navigate away from the page. I'd like to put in some sort of status bar, or even just a message saying "your info is on the way, please be patient" while the query is executing.

Anyone know how to do this?
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

5 seconds is eons in hard drive world -- I'd be more concerned that my query is taking so long. Anyway, check out http://www.evilwalrus.org/scripts/Using ... to_browser. Or use an 'in-between' page with a message and a meta redirect tag that forwards to the real page.
Post Reply