Database Row Locking WIth PHP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi Guys

I was just wondering if there is any possible way to lock a row in a MySQL
database when a person is editing it so that another person cannot log on
and edit it at the same time?  Any help would be greatly appreciated.



Re: Database Row Locking WIth PHP

willl69 wrote:

Quoted text here. Click to load it

Not a PHP question.

Since the mysql session ends when the script has generated it's output, then
you can't lock it using the builtin mechanisms - you'd need to implement
your own locking protocol.


Site Timeline