Re: Cosmetics
| From: | Ron Allen | Date: | Fri, 05 Apr 2002 13:48:36 +0000 |
| Subject: | Re: Cosmetics | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18246@lists.php.net to get a copy of this message | ||
Works like a champ......friggin sweet
"Jason Wong" <phplist@gremlins.com.hk> wrote in message
news:php.db-18241@news.php.net...
> On Friday 05 April 2002 17:57, Ron Allen wrote:
> > Does anybody out there know how to get the amount of time that a search
> > took and then display it on the webpage!!!
>
>
> $TIMER_START = explode(" ", microtime());
> $TIMER_START = $TIMER_START[1] + $TIMER_START[0];
>
> ## Do some stuff here:
>
> $TIMER_END = explode(" ", microtime());
> $TIMER_END = $TIMER_END[1] + $TIMER_END[0];
> echo "<br>", $TIMER_END - $TIMER_START, " secs";
>
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
>
> /*
> Wouldn't this be a great world if being insecure and desperate were a
turn-on?
> -- "Broadcast News"
> */