PHP 4.0 Bug #4984: mysql_list_fields has problems ...

From: Date: Mon, 12 Jun 2000 15:50:14 +0000
Subject: PHP 4.0 Bug #4984: mysql_list_fields has problems ...
Groups: php.dev 
Request: Send a blank email to php-dev+get-21109@lists.php.net to get a copy of this message
From: lwillis@plus.net.uk Operating system: Linux 2.2.14-15mdk PHP version: 4.0.0 Release PHP Bug Type: MySQL related Bug description: mysql_list_fields has problems ... The following script produces an error: <? $chan = mysql_connect ("localhost", "user", "pass") or die ("No connect"); mysql_select_db ("existing_db", $chan) or die ("Couldn't select"); $result = mysql_list_fields("existing_table", $chan) or die ("Couldn't list fields"); ?> The output I get is: Warning: Unable to save MySQL query result in /usr/local/apache/docs/mbug.php on line 5 Couldn't list fields We're 90% sure that this all worked in PHP 3.0 :(

« previous php.dev (#21109) next »