Bug #17918: not functional mysql_list_fields
| From: | josef dot buk at vol dot cz | Date: | Sat, 22 Jun 2002 10:38:26 +0000 |
| Subject: | Bug #17918: not functional mysql_list_fields | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-11769@lists.php.net to get a copy of this message | ||
From: josef.buk@vol.cz
Operating system: WXP Pro
PHP version: 4.2.1
PHP Bug Type: MSSQL related
Bug description: not functional mysql_list_fields
This code doesn't work:
$fields = mysql_list_fields($db, $tb, $link);
$columns = mysql_num_fields($fields);//line #26
PHP returns this warning:
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result
resource in e:\program files\apache
group\apache\htdocs\provoz\jb_mysql_tbdesc.php on line 26
--
Edit bug report at http://bugs.php.net/?id=17918&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17918&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17918&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17918&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17918&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17918&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17918&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17918&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17918&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17918&r=globals