Re: mysql_insert_id problems

From: Date: Fri, 02 Feb 2001 04:48:58 +0000
Subject: Re: mysql_insert_id problems
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-45586@lists.php.net to get a copy of this message
I've read in the docs that some people have had problems with the mysql_insert_id() function. Use the select statement version instead: SELECT last_insert_id() from mytable; hth. Geoff On Thu, Feb 01, 2001 at 08:39:51PM -0800, Brady J. Horenstein wrote: > Hello! > > I recently moved my website over to a different hosting company. The once I > was on previously was running PHP4beta2 and the new one is running 4.0.1pl1. > > I'm having problems with the mysql_insert_id() func. Essentially, it isn't > working. :) > > Has anyone else had this problem? It's really wierd, because it was working > fine on my other account. > > Thanks! > > -brady > > -- > Brady J. Horenstein > brady@bradydev.com > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- Geoff Jukema gjukema@jukeware.com www.jukeware.com gjukema@daemonnews.org www.daemonnews.org

« previous php.dev (#45586) next »