RE: [PHPLIB] Insert -> select From: Michael S. Steuer (michael <email protected>)
Date: 02/28/00

|3) and finally before inserting write:
|
|$id = $db->nextid("tablename");
|...
|$sql = "insert into tablename ($id, "text",....)";
|...

Wouldn't retrieving the id before the actual insert cause problems in case
of concurrent inserts at approx. the same moment?

regards,

Michael.

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.