And if I perform "LOCK tables ..."  nobody can;t write on these tables,
until I don't perform "UNLOCK TABLES" ?
If something happens  ( I mean if some my queryes fails) ?

"Jason Wong" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

Reply via email to