I have the following XML in a variable:
$xml = 'XML=<CktRequest><Agent Name="Computicket" Group="mobile"></Agent><Operation Type="New Session" NumNewReleases="3" NumPromotions="6"/></CktRequest>';
var_dump("xml:".$xml);
The var_dump only show:
'XML='
So it loses everything after that… Why?
The browser is interpreting the tags as… well tags. View the source to see the contents of
$xmlor escape it first: