Table locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anyone know how you set a lock in a MySQL table using PHP?

I tried:

$select = ³LOCK TABLES t1 WRITE;²;
$select .= ³select * from t1;²;
$select .= ³UNLOCK tables;¹;

When I run mysql_db_query(³db²,$select,$conn);  it always returns nothing.
Any insights would be appreciated!

Thanks,
/T




[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux