I'd like to put a time track (return how many sec) into my search page, so when users finish the search, they will know how long it take.
Can you tell me how can I do that?
thanks.
use microtime()?
Check out the page: http://us3.php.net/manual/en/function.microtime.php The first example is pretty much what you need. Except where the script has sleep(100), execute your query.