Re: [PHP4BETA] undefined function: mysql_errno()
| From: | Sterling Hughes | Date: | Sun, 30 Apr 2000 18:04:05 +0000 |
| Subject: | Re: [PHP4BETA] undefined function: mysql_errno() | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14210@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
>
> On Mon, 1 May 2000, oldmemory in 21cn wrote:
>
> > Hi
> >
> > When I run the followed, that return "Fatal error : Call to undefined function:
> > mysql_errno() in......".
> >
> > echo mysql_errno()." : ".mysql_error();
> >
> > Why?
> > I am using 4.0B2. This function removed?
>
> Hrm, perhaps it wasn't in B2. It is definitely there in the current PHP 4
> code. Try upgrading.
>
> -Rasmus
>
Also, from php_mysql.c (latest CVS):
#ifdef HAVE_MYSQL_ERRNO
PHP_FE(mysql_errno, NULL)
#endif
Sterling