Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
January 20, 2005, 4:07 pm
rate this thread
becauese php-programmers are more likely to come across the following
A script on my page relays a quite complicated query to a MySQL-server
with mysql_query(...); The query works fine but takes very long - I
usually have to wait for approx. 30 seconds before the query is
returned from MySQL and the results displayed by php on a webpage.
Iīd rather have the results of the query written into a nice textfile
and display a text like "Results are being retrieved" in stead of the
actual results and have the page reloaded a f t e r the textfile has
been updated. The newly loaded page then would obviously first check
whether this very textfile has been updated or not and read out its
contents in case it is has been updated less then letīs say two
I hope I can make myself understood...:)
My question is: what actual code (I am almost sure it must be
to reload after the results are retrieved and stored in the textfile?
Thank you in advance for hints, Nao
Re: reload a page after execution of a mysql-query in php
there are others, pick one and go with it.
Might i suggest a pop-up warning the user of the slow process?
But anyways, if you just put the
$place = "page_after.php"; // replace, duh.
after the other code, it should redirect.
- » Executing an application whose directory path contains blank spaces
- — Previous thread in » PHP Scripting Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum