Re: [PHP4BETA] undefined function: mysql_errno()

From: Date: Sun, 30 Apr 2000 18:55:47 +0000
Subject: Re: [PHP4BETA] undefined function: mysql_errno()
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-14216@lists.php.net to get a copy of this message
I am using 3.23.14-alpha. This is the highest version I know. Thank you Romain ----- Original Message ----- From: Rasmus Lerdorf <rasmus@php.net> To: oldmemory in 21cn <oldmemory@21cn.com> Cc: <php4beta@lists.php.net> Sent: Monday, May 01, 2000 2:50 AM Subject: Re: [PHP4BETA] undefined function: mysql_errno() > 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 > > > > > > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net >

« previous php.version4 (#14216) next »