is there something Equivalent to mysql GET_LOCK in PHP PDO ?
cant use file lock as i have different application server.
i know one solution is memcache …is there some other alternative
is there something Equivalent to mysql GET_LOCK in PHP PDO ?
cant use file lock as i have different application server.
i know one solution is memcache …is there some other alternative
You can use “GET_LOCK” because it’s mysql
[php]
$res = mysql_query(“GET_LOCK(table)”);
$row = mysql_fetch_row($res);
$value = $row[0];
[/php]
Thanx
But I know Get_lock command …but its for mysql only …on pdo it behavioral is differnt