私のxmlフィードファイルはストリップスラッシュを使用していますが、somフィールドから特殊文字も削除したいのですが、それをどのように行い、どこにどのような順序で追加しますか?
$output .= "<address>".htmlentities(html_entity_decode(stripslashes($row->street_num)))." ".htmlentities(html_entity_decode(stripslashes($row->address2)))."</address>\n";