Re: how to get id from table I just inserted into

From: Date: Thu, 10 Oct 2002 07:41:10 +0000
Subject: Re: how to get id from table I just inserted into
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119502@lists.php.net to get a copy of this message
On Thursday 10 October 2002 15:37, Pablo Oliva wrote: > I have a mysql db with a particular table that I am inserting into. > This table has an id column that auto-increments. Is it possible to get > the id of the row that I just inserted into, without re-querying??? rftm, mysql_insert_id(). -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Consider well the proportions of things. It is better to be a young June-bug than an old bird of paradise. -- Mark Twain, "Pudd'nhead Wilson's Calendar" */

« previous php.general (#119502) next »