title: PHP code displayed in browser
body: <p>so, I'm working on a databases project, and i'm trying to code incrementally.  the problem is, when i go to test the php in browser, it displays the php code after my use of "->".  the html printing is displayed properly, which is AFTER the point where the -> is.</p>
  
  <p>here is the php:</p>
  
  <pre><code>&lt;?php 
      function getGraphicNovel(){ 
          include_once("./connect.php"); 
          $db_connection = new mysqli($SERVER, $USERNAME, $PASSWORD, $DATABASE); 
          if (mysqli_connect_errno()) { 
              echo("Can't connect to MySQL Server. Error code: " . mysqli_connect_error()); 
              return null; 
          } 
          $stmt = $db_connection-&gt;stmt_init(); 
          $returnValue = "invalid"; 
          if($stmt.prepare("select series from graphic_novel_main natural join graphic_novel_misc")) { 
          $stmt-&gt;execute(); 
          $stmt-&gt;bind_result($series); 
          while ($stmt-&gt;fetch()) { 
              echo "&lt;tr&gt;&lt;td&gt;" . $series . "&lt;/td&gt;&lt;/tr&gt;";
          }
          $stmt-&gt;close(); 
      } 
      $db_connection-&gt;close(); 
  } 
  getGraphicNovel();
  ?&gt;
  </code></pre>
  
  <p>here is a link to the page.  hopefully it works for people outside the school's network.</p>
  
  <p><a href="http://plato.cs.virginia.edu/~paw5k/cainedb/viewall.html" rel="nofollow">http://plato.cs.virginia.edu/~paw5k/cainedb/viewall.html</a></p>
  
  <p>if anyone knows why this is happening, your input would be great!</p>
  
  <p>as per request:</p>
  
  <p>php -v:</p>
  
  <pre><code>PHP 5.3.2-1ubuntu4.14 with Suhosin-Patch (cli) (built: Feb 11 2012 06:50:46) 
  Copyright (c) 1997-2009 The PHP Group
  Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
  </code></pre>