Re: Re: Bug #695 Updated: mysql_error can't fetch the error afte the database conne
| From: | Zeev Suraski | Date: | Thu, 03 Sep 1998 07:20:47 +0000 |
| Subject: | Re: Re: Bug #695 Updated: mysql_error can't fetch the error afte the database conne | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-767@lists.php.net to get a copy of this message | ||
At 20:21 02/09/98 +0000, Manuel Lemos wrote:
>Hello Zeev,
>
>On 02-Sep-98 17:33:45, you wrote:
>
>>ID: 695
>>Updated by: zeev
>>Reported By: mlemos@acm.org
>>Status: Closed
>>Bug Type: MySQL related
>>Assigned To:
>>Comments:
>
>>That's correct, and is the intended and planned behavior.
>
>Maybe you should document this.
I don't think so really. Any of the MySQL functions that take an optional
link number, mysql_error() included, would not work if there's no such link
open. PHP only remembers the last opened link and uses it automatically if
you don't specify a link in your function call, but if it can't find a
link, it won't work.
Zeev
--
Zeev Suraski <zeev@php.net>
For a PGP public key, finger bourbon@netvision.net.il
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net