RE: [PHP] mssql_num_rows problem (Solved)
| From: | Gary Ogilvie | Date: | Fri, 27 Jun 2003 12:47:40 +0000 |
| Subject: | RE: [PHP] mssql_num_rows problem (Solved) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153106@lists.php.net to get a copy of this message | ||
Thanks a lot Jay
It seems that when a "password" type of form is used then you must send
the password variable to the database instead of the user...Strange but
it works !!
-----Original Message-----
From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com]
Sent: 27 June 2003 13:45
To: Gary Ogilvie; PHP General
Subject: RE: [PHP] mssql_num_rows problem
[snip]
$numRows = mssql_num_rows($result);
print ("$numRows");
[/snip]
A. print($query); //to make sure it is correct, double check
2. print($numRows); // no quotes, again to test
HTH