Re: [PHP4BETA] COM problem

From: Date: Wed, 05 Apr 2000 21:57:19 +0000
Subject: Re: [PHP4BETA] COM problem
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-13195@lists.php.net to get a copy of this message
I think I know what the problem is. Can you try to see if you reliably get opposite results (i.e., that it gives you exactly the opposite result from the correct one, consistently?) Zeev At 10:58 05/04/2000 , gus wrote:
Hi! I have a problem with PHP4 RC1 and COM. $rs is a RecordSet COM object; The value of $rs->RecordCount is 60. The value of $rs->PageSize is 10. This comparison does NOT work:
    if ($rs->RecordCount>$rs->PageSize) { ...
This works:
    $rc = $rs->RecordCount;
    $ps = $rs->PageSize;
    if ($rc>$ps) { ...
Does anybody have an idea about that? Regards Guido -- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net For additional commands, e-mail: php4beta-help@lists.php.net To contact the list administrators, e-mail: php4beta-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#13195) next »