Hey,
I made a very simple WML script (in PHP using WML headers) and for some reason it refuses to display it, it basicly says '<no wml content>'.
I've JUST started WML and already I wanna kill the person that made it, my host supposedly supports WAP/WML so i'm sure its not the mime type (although i may be wrong).
Code below:
<?php
header("Content-type: text/vnd.wap.wml");
echo("<?xml version=\"1.0\"?>");
echo("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. "http://www.wapforum.org/DTD/wml_1.1.xml\">
<wml>
");
?>
<card id="MainCard" title="This is a first card">
<p align="center">
This is a sample text
</p>
</card>
</wml>
Has anyone got any idea why it keeps saying there's no wml content?
Thanks In Advance
-Vince