$sql = 'select * from tabelle where feld like ?'; $sth = $dbh->prepare($sql); $sth->execute('%test%');