Parse error: syntax error, unexpected T_VARIABLE in /home/designea/public_html/blog/blog_end/inc/comments.inc.php on line 1
<p>Im getting this error "Parse error: syntax error, unexpected T_VARIABLE in /home/designea/public_html/blog/blog_end/inc/comments.inc.php on line 1" can somebody help me..here's my code</p>

<pre><code>&lt;?php 
function get_gravatar( $email = $_POST['email1'], $s = 50, $d = 'mm', $r = 'g', $img = false, $atts = array() ) {
        $url = 'http://www.gravatar.com/avatar/';
        $url .= md5( strtolower( trim( $email ) ) );
        $url .= "?s=$s&amp;d=$d&amp;r=$r";
        if ( $img ) {
            $url = '&lt;img src="' . $url . '"';
            foreach ( $atts as $key =&gt; $val )
                $url .= ' ' . $key . '="' . $val . '"';
            $url .= ' /&gt;';
        }
        return $url;
    }
?&gt;
</code></pre>
