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

2002-10-10 Thread Jason Wong
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(). --

[PHP] how to get id from table I just inserted into

2002-10-10 Thread Pablo Oliva
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??? The problem that I have is that the data being inserted will be identical for several ro