RE: [PHP-DB] get the record id of the last addition in a table

2001-11-27 Thread biorn
2:22 > To: '[EMAIL PROTECTED]' > Subject: [PHP-DB] get the record id of the last addition in a table > > > Hi: > > I've created a table. The fields are "id" (auto-increment, integer), > "field1","field2),... > > When I do &q

RE: [PHP-DB] get the record id of the last addition in a table

2001-11-27 Thread matt stewart
EMAIL PROTECTED]' Subject: [PHP-DB] get the record id of the last addition in a table Hi: I've created a table. The fields are "id" (auto-increment, integer), "field1","field2),... When I do "insert into mytable (field1..) values (...)", how to get in r

[PHP-DB] get the record id of the last addition in a table

2001-11-26 Thread LeTortorec, Jean-Louis
Hi: I've created a table. The fields are "id" (auto-increment, integer), "field1","field2),... When I do "insert into mytable (field1..) values (...)", how to get in return the value of "id"? Thanks Jean-Louis