Du behöver inte * i detta uttalande. $sql= "delete from mytable where first='' or second='' or third=''";