simple arithmetic problem
| From: | pei_world | Date: | Sun, 16 Mar 2003 16:35:51 +0000 |
| Subject: | simple arithmetic problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-139846@lists.php.net to get a copy of this message | ||
I have a problem in time substraction.
the number print out correct, but don't know
why i cann't do the substraction between them
=======================================
echo (time()).">><br>";
echo (fgets($fp))." = <br>";
$new=time();
$old=fgets($fp);
echo ">>>".($new - $old)."<<<<br>";
ouput ======================================
1047832384>>
1047832349 =
>>>1047832384<<<
--
Sincerely your;
pei_world ( .::IT::. )