Re: PHP 4.0 Bug #4984: mysql_list_fields has problems ...
| From: | Zeev Suraski | Date: | Mon, 12 Jun 2000 15:58:42 +0000 |
| Subject: | Re: PHP 4.0 Bug #4984: mysql_list_fields has problems ... | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21113@lists.php.net to get a copy of this message | ||
Do you happen to be using one of the following modules in your Apache
installation?
- mod_auth_mysql
- mod_perl
- PHP 3.0
?
On 12 Jun 2000 lwillis@plus.net.uk wrote:
> 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 :(
>
>
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/