开发者

stripslashes and special characters?

My xml feed file is using stripslashes, but I also want to remove special characters from som fiel开发者_JAVA百科ds - how would I do that and where/what order would I add it?

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


See: In php, Prepare string and create XML/RSS Feed

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜