Re: Getting the primary key from a MySQL insert

From: Date: Sat, 17 Jul 2004 01:51:34 +0000
Subject: Re: Getting the primary key from a MySQL insert
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-190800@lists.php.net to get a copy of this message
* Thus wrote John W. Holmes: > Andrew Wood wrote: > >Thanks. When it says 'the last insert' is that just the last insert my > >PHP script did, or the last insert on the DB as a whole? > > Read the links Daniel just sent out. And take care in reading the part about it returning the 'last insert id' on the last successful insert. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid!

« previous php.general (#190800) next »