I believe the function you want is mysql_num_rows, not mysql_numrows
HTH
Sam Masiello
Software Quality Assurance Engineer
Synacor
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 9:35 AM
To: [
Hello AJDIN,
Monday, August 06, 2001, 3:34:49 PM, you wrote:
AB> Hi
AB> I'm trying to get number of rows from a query. All works fine until
AB> the result is 0. Then query executes fine, returns 0 rows but mysql_numrows
AB> failes.
AB> $query="select * from mytable";
AB> $result=mysql_query
2 matches
Mail list logo