determine the primary key after adding a row to a table (mysql)

From: Date: Wed, 24 Apr 2002 21:19:26 +0000
Subject: determine the primary key after adding a row to a table (mysql)
Groups: php.db 
Request: Send a blank email to php-db+get-18775@lists.php.net to get a copy of this message
is there any way to determine the primary key of a row after it's added to a table in mysql? i need to do this because i have another table which requires the id from one table as a foreign key.

« previous php.db (#18775) next »