#24014 [NEW]: mssql_num_rows
| From: | huntertupa at hotmail dot com | Date: | Wed, 04 Jun 2003 11:21:35 +0000 |
| Subject: | #24014 [NEW]: mssql_num_rows | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-41128@lists.php.net to get a copy of this message | ||
From: huntertupa at hotmail dot com
Operating system: FreeBSD
PHP version: 4.3.2
PHP Bug Type: MSSQL related
Bug description: mssql_num_rows
Hello!
I´m using PHP 4.3.2 in a FreeBSD Server with FreeTDS to connect a MSSQL
Server in a Win2k.
When I do a SELECT that returns some rows it works fine.
But when the SELECT doesn´t returns any rows I have this error:
Warning: mssql_num_rows(): supplied argument is not a valid Sybase-result
resource in /var/html/teste.php on line 7
What does it can be?
--
Edit bug report at http://bugs.php.net/?id=24014&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24014&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24014&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24014&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24014&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24014&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24014&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24014&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24014&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24014&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24014&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24014&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24014&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24014&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24014&r=gnused