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" <php-db@xxxxxxxxxxxx> wrote in message news:200407090800.44633.php-db@xxxxxxxxxxxxxxx > 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