Snippets has posted 5883 posts at DZone. View Full User Profile
Include this to convert those ampersands and angle brackets to proper entities. It can help with XML too but remember there are lots of other entities that need converting.
$html = encode_entities($string, '<>&"');
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...