Edit report at http://bugs.php.net/bug.php?id=53944&edit=1

 ID:                 53944
 Updated by:         dtajchre...@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

Reply via email to