Re: Is it possible ?

From: Date: Sun, 17 Feb 2002 03:44:27 +0000
Subject: Re: Is it possible ?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-17000@lists.php.net to get a copy of this message
On Saturday 16 February 2002 07:35 pm, you wrote: > Is it possible to get the AUTO-INCREMENTed ID's value while doing an INSERT > and have the value INSERTed to another table in the same FORM ? > > Raju mysql_query("insert whatever"); $insertid=mysql_last_insert(); Then you use this value for your other insert.

« previous php.db (#17000) next »