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