As you can see I tries to make a very simple XML example with PHP. My problem is that at the end, at </users>
I get an XML Parsing Error: not well-formed and I do not understand why since I do not use any special characters or any URLs. Does anyone have any ideas what the problem might be?
<?php
header('Content-type: text/xml');
$xml = "<?xml version=\"1.0\" ?>\n";
$xml .= "<users>\n";
$xml .= "test\n";
$xml .="</users>";
echo $xml;
?>