Thnx for yr answers. I fixed it. Problem was the places of codes. They were 
line under line now i
took to the beginning and itz calculating correctly.. The code was:
//Beginning
$mtime = explode(" ",microtime());
$starttime = $mtime[1] + $mtime[0];
//Just before i print
$mtime = explode(" ",microtime());
$endtime = $mtime[1] + $mtime[0];
//Print prompt
round($endtime-$starttime,3);

Also thanx for reminding abs(), i ll use it..

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to