Reputation: 239
why wont the following echo out the strings?
<?php
header("Content=type: text/xml");
echo '<?xml version="1.0" ?>';
echo '<strains>';
echo '<strainName>';
echo '</strainName>';
echo '</strains>';
?>
Basically I am experimenting with php and xml and noticed that when i create this script and run it, nothing is outputed to the screen?
Upvotes: 0
Views: 179