RE: [PHP] intermediate search screen
| From: | John W. Holmes | Date: | Thu, 10 Apr 2003 10:01:09 +0000 |
| Subject: | RE: [PHP] intermediate search screen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143299@lists.php.net to get a copy of this message | ||
> lol , i couldnt get the message as it was redirecting but thanks i get
it
> ,
> send to that page , store the sql query into a session variable goto
the
> next
> page and do the query , although on that redirected page the query
hasnt
> been
> done yet, so is going to be done when u load the page , is there a way
to
> fork
> a process to i could multitask it
Are you just throwing out buzz words, or what?
> anyway i usuaully split the results
> into
> pages , so use the limit clause, so will be only getting the results
from
> the
> certain pointer anyway, but does mysql usually get all the results
them
> show
> some or only queries the range ? there must be a way to show up the
> interim
> page , start the query and redirect to the next page with the results.
No, you can't start a query while one PHP script is executing and then
retrieve results from it when another PHP script runs.
> i've
> had a fancy idea of display of the progress of the results with a
progress
> bar
> in the interim page aswell , heh i wonder how i could do that :)
You can show an animated gif and make it look like a progress bar, but
that's it.
You already posted an example of what you've got that matches what I
suggested. That's your solution.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/