开发者

stripslashes and special characters?

开发者 https://www.devze.com 2023-01-07 03:12 出处:网络
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?

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

精彩评论

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