I'm a new developper and I has find in the internet http://www.zend.com/zend/tut/wap.php that it is possible to out PHP code inside a WML file. I use "Nokia Mobile Internet toolkit" and I get an error with this source taken of that web

// send wml headers
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\">";

<card id="card1" title="Example 1">
// format and output date
$the_date = date("M d Y"
print $the_date;
print "<br/>Welcome to a PHP-enabled site!";

Warning: Line 4:Valid documents must have a <!DOCTYPE declaration
Error: Line 4: Document root element is missing

Can anybody help me?

Thanks a lot!