Bug #53944 [Opn->Bgs]: count function

From: Date: Mon, 07 Feb 2011 01:47:38 +0000
Subject: Bug #53944 [Opn->Bgs]: count function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-158535@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53944&edit=1 ID: 53944 Updated by: dtajchreber@php.net Reported by: gholaybani at yahoo dot com Summary: count function -Status: Open +Status: Bogus Type: Bug Package: *Database Functions Operating System: win xp-win 7-linux PHP Version: 5.3.5 Block user comment: N Private report: N New Comment: Use mysql_num_rows() or mysql_affected_rows() php.net/mysql_num_rows php.net/mysql_affected_rows Previous Comments: ------------------------------------------------------------------------ [2011-02-07 00:05:36] gholaybani at yahoo dot com Description: ------------ hi i have a problem when using count function in php when i want count records with this function,always my result is one sample select count(*) from tablename returns one but its returns true answers in mysql software if this is a bug ? php version is 5.3.5 thanks a lot ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53944&edit=1

« previous php.bugs (#158535) next »