I am strictly a newby at this.
I am basically trying to get a feel as to exactly how PHP fits into WML. I am using the NMIT 4.0 and the Nokia Mobile Browser 4.0 to view the output of my compiled code.
My problem is this:
when i compile and run the code, the output shows everything but the PHP script. I am trying a simple example (atleast its supoosed to be) where the current date is outputted to the screen...
here's my code:
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
// send wml headers
<card id="card1" title="Example 1">
// format and output date
$the_date = date("M d Y");
print "<br/>Welcome to a PHP-enabled site!";
I'm confused! It only out puts the title of the card (Example 1). Please help!