1

My xml feed file is using stripslashes, but I also want to remove special characters from som fields - 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";
Jason
  • 7,612
  • 14
  • 77
  • 127

1 Answers1

0

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

Community
  • 1
  • 1
Vasil Dakov
  • 2,040
  • 2
  • 19
  • 38