I my milter I have a mysql call below. $sth1 = $dbh->prepare("SELECT value FROM userpref WHERE username = '$recip' && preference='whitelist_from'"); My slave is always getting killed because of an aprostophe in an email address. It fails at '$recip'. Is there another way to code the above line?? Thanks Bryan Tolka