Hi Nicolas

> Ideally, I would like to lock the record when a user open
it for
> modification.

Normally this is done by the database-management-system
itself, so you dont't have to deal with it. Each system has
it's own built-in locking mechanism.

If you use PostgreSQL, you can put your queries into a
transaction, then no other process can get access to the
affected records during the operations in the transaction.

Greetings
Conni





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to