MySQL Forums
Forum List  »  Newbie

COUNT(*) problem - mysql
Posted by: Markus Sander
Date: June 13, 2005 10:04AM

I would like to realize a simple query in this form:

SELECT COUNT(*) FROM love WHERE male = '1'

in php.
How can I get the returned value in a value like "$malenumber"
in php.
Is there any other solution to count the rows in a table?

Options: ReplyQuote


Subject
Written By
Posted
COUNT(*) problem - mysql
June 13, 2005 10:04AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.