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( "SELECT RELEASE_LOCK('signups')");
>
> PHP does not seem to implement these functions
> despite the fact that they have been around since
> sometime in March/April 1998.
It's a SQL statement, application language has nothing to do with it..
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php