title: php in html not working
body: <p>Here is my code.</p>
  
  <pre><code>&lt;!DOCTYPE=HTML&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;?php
  require("connect.php") or die("failed to connect to server.");
  
  if (isset($_POST['submit'])){
  echo'Goodwork!';
  }else{
  
  echo'&lt;form action="signup.php" method="POST"&gt;
  Fistname: &lt;input type="text" name="fname"/&gt;&lt;/br&gt;
  Lastname: &lt;input type="text" name="lname"/&gt;&lt;/br&gt;
  Phone Number: &lt;input type="text" name="phonenumber"/&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" name="submit"&gt;
  &lt;/form&gt;';
  
  
  }
  
  ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>However when I run this the browser just gives me a white page with no form. I have tried taking away the "if (isset($_POST['submit'])){echo'Goodwork!';}" bit but have had no luck. What is up with my PHP?</p>