Re: lock tables syntax in PHP
| From: | Andrew Etemadi | Date: | Tue, 08 Aug 2000 20:56:20 +0000 |
| Subject: | Re: lock tables syntax in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10788@lists.php.net to get a copy of this message | ||
After you connect to the database, use
mysql_query("LOCK TABLES mytable READ");
Mark Lo wrote:
> Hi,
>
> I am using Mysql and PHP, I wonder what is the syntax to lock a table in PHP. I know I can
> lock the table in the consule using lock talbes statement, but how to lock a table by using PHP.
>
> Thanks
>
> Mark