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



Reply via email to