when i run this code gives Parse error: syntax error, unexpected end of file
<pre><code>&lt;?php
    require('config.php');
    if(isset($_POST['submit'])){
    }else{
    $form =&lt;&lt;&lt;EOT
    &lt;form action="reg.php" method="POST"&gt;
        First Name: &lt;input type="text" name="name"/&gt;&lt;br /&gt;
        Last Name: &lt;input type="text" name="lname"/&gt;&lt;br /&gt;
        Username: &lt;input type="text" name="uname"/&gt;&lt;br /&gt;
        Email: &lt;input type="text" name="email1"/&gt;&lt;br /&gt;
        Confirm Email: &lt;input type="text" name="email2"/&gt;&lt;br /&gt;
        Password: &lt;input type="password" name="pass1"/&gt;&lt;br /&gt;
        Confirm Password: &lt;input type="password" name="pass2"/&gt;&lt;br /&gt;
        &lt;input type="submit" value="Register" name="submit"/&gt;
    &lt;/form&gt;
    EOT;
    echo $form;
    }
?&gt;
</code></pre>
