| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Paul DuBois | Date: | October 4 2001 8:37pm |
| Subject: | Re: Auto Increment Fields | ||
| View as plain text | |||
At 4:08 PM -0400 10/4/01, Jason Frisvold wrote: >Is there a way to have DBI return the value of the auto-incremented field >upon insert? Or do I have to insert and then do a select afterwards? $dbh->do ("your insert statement"); $auto_inc = $dbh->{mysql_insertid}; -- Paul DuBois, paul@stripped
| Thread | ||
|---|---|---|
| • Auto Increment Fields | Jason Frisvold | 4 Oct |
| • RE: Auto Increment Fields | Don Read | 4 Oct |
| • Re: Auto Increment Fields | Paul DuBois | 4 Oct |
| • Re: Auto Increment Fields | Kyle Hayes | 5 Oct |
| • RE: Auto Increment Fields | Jason Frisvold | 5 Oct |
