Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2004071

Re: [PHP-DB] Table locking From: Jason Wong (php-db <email protected>)
Date: 07/08/04

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
*/

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php