On Wed, 7 Mar 2001, Todd Cary wrote:
> I want to check the time for queries. I have
>
> $starttime = getmicrotime();
> $endtime = getmicrotime();
> $delta = $endtime - $starttime;
There is no such function as "getmicrotime". You're probably trying to
use "microtime". Second of all, microtime
start = mtime();
}
function reset()
{
$all_vars = get_object_vars($this);
foreach($all_vars as $pos => $val)
if ($pos != 'error')
unset($this->$pos);
}
function time($text = '')
{
$this->break = mtime();
$time = ($this->break - $this->start) / 10;
echo
I want to check the time for queries. I have
$starttime = getmicrotime();
$endtime = getmicrotime();
$delta = $endtime - $starttime;
How do I display the seconds/milliseconds?
Many thanks..
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://ww
3 matches
Mail list logo