Why am I getting in expected T_variable? : <pre><code>&lt;?php
         $date = new datetime;
        echo $date-&gt;format('m-d-y');
 ?&gt;
</code></pre>

<p>Can someone see something I can't? I keep getting unexpected $date on the 2 line. (I'm very new when it comes to php. Any help appreciated.)</p>
