Rosen wrote:

I have the following situation: I have to prevent users to write at the same
time in one table in PHP script.
Is there a way the PHP to "understand", thath another user is filling table,
and to wait before begin to fill data?

Most databases have a LOCK command that you can issue. The other scripts that end up running at the same time will wait until the lock is released.

---John Holmes...

Amazon Wishlist:

php|architect: The Magazine for PHP Professionals –

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to