1

私のxmlフィードファイルはストリップスラッシュを使用していますが、somフィールドから特殊文字も削除したいのですが、それをどのように行い、どこにどのような順序で追加しますか?

$output .= "<address>".htmlentities(html_entity_decode(stripslashes($row->street_num)))." ".htmlentities(html_entity_decode(stripslashes($row->address2)))."</address>\n";
4

1 に答える 1

0

参照:phpで、文字列を準備し、XML/RSSフィードを作成します

于 2010-07-15T17:01:38.677 に答える