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
<card id="card1" title="Example 1">
// format and output date
$the_date = date("M d Y"
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