I hope thisi s small enough to be allowed here
I'm making a mod ofr invision which will generate an XML / RSS feed with all the latest posts in - my problem is that an xml file starts with
<?xml version="1.0" ?>
however this is also used by PHP, so it is interpreted as php
I've tried this:
// Start XML file
?>
<?xml version="1.0" ?>
<?php
...
And this
// Start XML file
echo("<?xml version="1.0" ?>");
And this
echo "<"; echo "?"; echo "xml version="1.0" "; echo "?"; echo ">";
but after doing the last one I now get permanent Page Unavailable errors
I've put the code back 2 how it was but the file seems inaccessible.
Anyway, does anybody know who to do what I'm after? Is there some escapce char involved? (like /")