Re: FormBuilder: Accessing Last Insert ID question / suggestion

From: Date: Fri, 01 Apr 2005 17:35:22 +0000
Subject: Re: FormBuilder: Accessing Last Insert ID question / suggestion
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18478@lists.php.net to get a copy of this message
On Apr 1, 2005 9:27 AM, Sarah Gray <sarah@fabled.net> wrote: > List, > > I may be missing something and if so please correct me, but I do not > see an easy way to get the last insert id when using FormBuilder. > Assuming that you are using auto_incrementing primary keys, of course. > [snip] > If already possible and I'm missing it, let me know. Otherwise, would > this make sense as an addition? > DB_DataObject already sets the PK in the DO itself when you do an insert. I've used this many times myself. -- Justin Patrin

« previous php.pear.general (#18478) next »