Re: Bug #1397: mysql function not working
| From: | David Fallon | Date: | Tue, 11 May 1999 03:16:04 +0000 |
| Subject: | Re: Bug #1397: mysql function not working | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5496@lists.php.net to get a copy of this message | ||
It seems like it would be worth some effort to make the error messages a bit
more robust... i.e., for this error, add in a note saying "This error is
most likely because the function you're using is in a library that you
haven't included. Go edit php.ini, etc. etc."
:) My only complaint about PHP is that the error messages are more cryptic
than necessary. I would do something, but with PHP4 around the corner...
This is a bigger barrier to entry than most people think, and I'd love to
help to make the obvious errors more obvious.
> From: alexei_v@yahoo.com
> Operating system: windows 95
> PHP version: 3.0.6
> PHP Bug Type: MySQL related
> Bug description: mysql function not working
>
> this is what i get for any function using mysql:
>
> Fatal error: Call to unsupported or undefined function mysql_connect() in
C:\WebShare\wwwroot\s.php3 on line 3
>
> I use Personal Web Server and MySQL Ver 3.21.29a for Win95
> mysql is working fine
>
>
>
>
> --
> 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
>
>
--
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