Hello. I am trying to use this code in a WML file:
<?xml version="1.0"?>
The problem is; PHP tries to parse the <? tags and it causes an error.
Other than:
<?php
echo "<?xml version=\"1.0\"?>\n";
?>
or
<?php
echo '<?xml version="1.0"?>\n';
?>
Which dont work, has anyone got any ideas as to how to do this?
Weirdly, If I do:
<?xml version="1.0"?>
without any PHP on the page, it works, but, if I put summit like:
<?
header("Content-type: text/vnd.wap.wml");
?>
(which is needed) It doesnt work.
Any help would be greatly taken;
Regards;
Alex.