$sth = $dbh->prepare("SELECT * FROM `items` WHERE description AND longdescription LIKE '$search'"); $sth->execute or die $dbh->errstr;