RE: PHP / get_lock() / release_lock()

2001-06-22 Thread Don Read
On 22-Jun-01 Carsten H. Pedersen wrote: > Has anyone successfully passed the get_lock() > and release_lock() commands to a MySQL > server using PHP? If so, how did you go about it? Yes; mysql_query("SELECT GET_LOCK('signups',20)"); fillsignups(); mailsignups(); mysql_query( "S

Re: PHP / get_lock() / release_lock()

2001-06-22 Thread Benjamin Pflugmann
Hello. I am not using PHP, so take my comment with a grain of salt. PHP doesn't need explicit support for GET_LOCK and RELEASE_LOCK as they are both just simply SQL functions. So I am not sure what you problem is, just execute the following query: SELECT GET_LOCK('whatever') from PHP the usual