in reply to Re: DBD::Mysql Strange Locking error
in thread DBD::Mysql Strange Locking error

It's a plain-old select statement, which is why I didn't post it, but here you go

$wordid = getsqlvalue($dbh,"select id from words.vocabulary where toke +n like '$searchword'");