2010-07-15 77 views
1

我的xml提要文件正在使用stripslashes,但我也想从som字段中删除特殊字符 - 我将如何执行该操作以及在何处添加它?stripslashes和特殊字符?

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

回答