Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

Re: [PHP4BETA] undefined function: mysql_errno() From: Sterling Hughes (sterling <email protected>)
Date: 04/30/00

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

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>