Re: getting an auto increment value immediately after insert

From: Date: Mon, 06 Aug 2001 21:18:36 +0000
Subject: Re: getting an auto increment value immediately after insert
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61494@lists.php.net to get a copy of this message
See: http://www.php.net/manual/en/function.mysql-insert-id.php - Tim On 06 Aug 2001 16:03:43 -0500, garman wrote: > I'm inserting some information into a MySQL database via a PHP script. A > handful of various information is put into the database via the "INSERT > INTO..." SQL command. Each entry has a unique, auto increment field that acts > as an index number for that entry. I can't seem to figure out a clean and > simple way to get that index number immediately after an insert.

« previous php.general (#61494) next »