PDF READ:http://download.dbworld.com.tw/mag_article/s030901903.pdf
mysql_query("BEGIN");
$sql="SELECT * FROM test_string2 WHERE id=3 FOR UPDATE ";
$rs= mysql_query($sql,$link);
$row=mysql_fetch_array($rs,MYSQL_ASSOC);
mysql_query("COMMIT");
mysql_query("BEGIN");
$sql="SELECT * FROM test_string2 WHERE id=3 FOR UPDATE ";
$rs= mysql_query($sql,$link);
$row=mysql_fetch_array($rs,MYSQL_ASSOC);
mysql_query("COMMIT");
沒有留言:
張貼留言