Hi
I am trying to build up a string with several XML tags but as soon as I hit the first angle bracket (i.e. <), PHP seems to ignore it completely and does not include it - or anything else within angle brackets (tags) thereafter into the string.
An example would be:
<?php
$xmlstr = "<message><messagetext> hello </messagetext></message>";
?>
This will return a string "hello" but nothing else.
I'm guessing there is a really simple explanation but I've googled for ages now and can't find it. I've also tried single quotes instead of double quotes with no difference.
Any assistance is appreciated.
Thanks
Maven12