Re: [PHP4BETA] undefined function: mysql_errno()

From: Date: Sun, 30 Apr 2000 18:50:14 +0000
Subject: Re: [PHP4BETA] undefined function: mysql_errno()
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-14215@lists.php.net to get a copy of this message
Note that older versions of MySQL did not have this function. Which version of MySQL are you using? On Mon, 1 May 2000, oldmemory in 21cn wrote: > Thank you. > > But I couldn't find this file in my machine. > And what's the newest version? > > Regards, > Romain > > ----- Original Message ----- > From: Sterling Hughes <sterling@designmultimedia.com> > To: Rasmus Lerdorf <rasmus@php.net> > Cc: oldmemory in 21cn <oldmemory@21cn.com>; <php4beta@lists.php.net> > Sent: Monday, May 01, 2000 2:04 AM > Subject: Re: [PHP4BETA] undefined function: mysql_errno() > > > > 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 > > >

« previous php.version4 (#14215) next »