I'm attempting to learn how to create some WML pages to view on a Smartphone, and came across this website Here
in attempting to get started.
Well, the site shows to create this file as sample/test page. However, when I pull up my test page on my Smartphone, I get an error on line 4. I'm still fairly new at php, so if anyone can help, it would be great.
// send wml headers
echo "<xml version="1.0"?>";
echo "<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN""
. " "http://www.wapforum.org/DTD/wml_1.1.xml">";
<card id="card1" title="Example 1">
// format and output date
$the_date = date("M d Y");
print "<br/>Welcome to a PHP WAP-enabled site!";