Re: how do I make a script wait ?
| From: | Curt Zirzow | Date: | Tue, 13 Apr 2004 14:13:06 +0000 |
| Subject: | Re: how do I make a script wait ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183232@lists.php.net to get a copy of this message | ||
* Thus wrote Damian Brown (damian@phpexpert.org):
> I have now set the sleep to 10 seconds
> and it is still executing the lower code before finishing
> doing the search of the database
> it must be sleeping during the search and so the sleep
> command has no effect
> I need to make it wait before executing the array sorting
> any workaround ?
php isn't running the sort function before its done with the code.
Is your select statment comming back with any data? Is there an
error with the select statement?
Curt
--
"I used to think I was indecisive, but now I'm not so sure."