on 19/09/02 11:37 PM, -=[ Julien Bonastre ]=- ([EMAIL PROTECTED])
wrote:

> I just want to know what function or module covers this feature.. If it is at
> all possible..

Top of your script:

<?
$timerOn = 1; // set to 0 if you want to turn it off
$timestart = getmicrotime();
?>


Bottom:

<?
if($timerOn)
    {
    $timeend = getmicrotime();
    $timer = $timeend - $timestart;
    echo "timer: $timer";
    }
?>

Similar things could be done with MySQL quereies, but I haven't looked into
it.


Justin French


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to