Re: Table locking
| From: | Jason Wong | Date: | Fri, 09 Jul 2004 00:00:44 +0000 |
| Subject: | Re: Table locking | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35164@lists.php.net to get a copy of this message | ||
On Friday 09 July 2004 07:24, Rosen wrote:
> Thanks, but can you give me a sample PHP script with MySQL database, whitch
> do this?
Don't have any examples handy. Basically instead of performing your usual
single query, you sandwich it between two extra queries:
LOCK tables ...
your usual query here
UNLOCK TABLES
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
Nothing is impossible for the man who doesn't have to do it himself.
-- A.H. Weiler
*/