Re: [PHP-DB] finding out the result of an INSERT

2001-07-10 Thread Roger Ramirez
ned by mysql_insert_id() will be incorrect. Instead, use the internal MySQL SQL function LAST_INSERT_ID(). - Original Message - From: "Cable, Christian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 6:51 AM Subject: [PHP-DB] finding out th

RE: [PHP-DB] finding out the result of an INSERT

2001-07-10 Thread Michael Rudel
___ > -Original Message- > From: Cable, Christian [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 10, 2001 12:52 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] finding out the result of an INSERT > > > Hi, > > this might be a stupid question but it's got me stumped tod

[PHP-DB] finding out the result of an INSERT

2001-07-10 Thread Cable, Christian
Hi, this might be a stupid question but it's got me stumped today My setup: php, mysql, apache etc I'm inserting a record into a table that's got a primary key which is auto incrementing .. +---+---+--+-+-++ | Field | Type