Jump to content


Guest pmvcosta

Recommended Posts

Guest pmvcosta

Hi!I don't no if this is the right place to put this but, i need to see my question anwsered.I have a code made in WML with PHP embebbed. When i try to run my WML code in a emulator, it appears a syntax error:Syntax Error 17But when i try to run the same code but without the php, it runs perfectly.Can somebody help me with this problem?here is the code:

<?php header("Content-type: text/vnd.wap.wml"); echo ""; echo " . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml> <card id="card1" title="Time and Date"> <p>Date : <?php $the_date = date("M d Y"); print $the_date; ?> </p> <p>Time <?php $the_time = time(); print $the_time; ?> </p> </card> </wml>

Thank you people.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...