|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53944 count function
Submitted: 2011-02-07 00:05 UTC Modified: 2011-02-07 02:47 UTC
From: gholaybani at yahoo dot com Assigned:
Status: Not a bug Package: *Database Functions
PHP Version: 5.3.5 OS: win xp-win 7-linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: gholaybani at yahoo dot com
New email:
PHP Version: OS:


 [2011-02-07 00:05 UTC] gholaybani at yahoo dot com
i have a problem when using count function in php
when i want count records with this function,always my result is one
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-07 02:47 UTC]
-Status: Open +Status: Bogus
 [2011-02-07 02:47 UTC]
Use mysql_num_rows() or mysql_affected_rows()
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Aug 10 20:01:24 2020 UTC