Date: 02/28/00
- Next message: Bart-Jan Vrielink: "Re: Fwd: [PHPLIB] Insert -> select"
- Previous message: Martin Decker: "Fwd: [PHPLIB] Insert -> select"
- In reply to: Martin Decker: "Fwd: [PHPLIB] Insert -> select"
- Next in thread: Howard Ha: "RE: [PHPLIB] Insert -> select"
- Reply: Howard Ha: "RE: [PHPLIB] Insert -> select"
- Reply: Howard Ha: "RE: [PHPLIB] Insert -> select"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
|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.
- Next message: Bart-Jan Vrielink: "Re: Fwd: [PHPLIB] Insert -> select"
- Previous message: Martin Decker: "Fwd: [PHPLIB] Insert -> select"
- In reply to: Martin Decker: "Fwd: [PHPLIB] Insert -> select"
- Next in thread: Howard Ha: "RE: [PHPLIB] Insert -> select"
- Reply: Howard Ha: "RE: [PHPLIB] Insert -> select"
- Reply: Howard Ha: "RE: [PHPLIB] Insert -> select"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

