Lock MySql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Murble
Forum Newbie
Posts: 11
Joined: Thu Feb 10, 2005 3:27 am

Lock MySql

Post by Murble »

Hi.
My php page is read my many people at once.

in the code Im reading and writing to MySql database

how can I lock the procidior, in some way that when another user is calling the page, the code wont allow multiple reading & writing to the db, and insted - will wait untill It will allow?

thanx
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

Post Reply