title: Output stops after php while loop
body: <p>I have the following php code:</p>
  
  <pre><code>echo "&lt;div style='float:left;'&gt;";
  echo "&lt;table&gt;";
  echo "&lt;tr&gt;";
  echo "&lt;th&gt;&lt;/th&gt;";
  echo "&lt;th colspan='4'&gt;Laks beholdt&lt;/th&gt;";
  echo "&lt;/tr&gt;";
  echo "&lt;tr&gt;";
  echo "&lt;th&gt;Uke&lt;/th&gt;";
  echo "&lt;th&gt;&amp;lt;3 kg&lt;/th&gt;";
  echo "&lt;th&gt;3-7 kg&lt;/th&gt;";
  echo "&lt;th&gt;&amp;gt;7 kg&lt;/th&gt;";
  echo "&lt;th&gt;Totalt&lt;/th&gt;";
  echo "&lt;/tr&gt;";
  
  while ($row = mysql_fetch_array($result, MYSQL_ASSOC) or die(mysql_error()))
  {
     echo "&lt;tr&gt;";
     echo "&lt;td&gt;" . $row['Uke'] . "&lt;/td&gt;";
     echo "&lt;td style='text-align:right; padding-right:10px;'&gt;" . number_format($row['SumSmall'], 1,
        ",", " ") . " kg&lt;/td&gt;";
     echo "&lt;td style='text-align:right; padding-right:10px;'&gt;" . number_format($row['SumMedium'], 1,
        ",", " ") . " kg&lt;/td&gt;";
     echo "&lt;td style='text-align:right; padding-right:10px;'&gt;" . number_format($row['SumLarge'], 1,
        ",", " ") . " kg&lt;/td&gt;";
     echo "&lt;td style='text-align:right; padding-right:10px;'&gt;" . number_format($row['SumVekt'], 1, ",",
        " ") . " kg&lt;/td&gt;";
     echo "&lt;/tr&gt;";
  }
  
  echo "&lt;/table&gt;";
  echo "&lt;/div&gt;";
  </code></pre>
  
  <p>I get the expected output from the while loop, but the end tags for my table and div -or any other output for that matter- does not show. I get no error message, and I fail to see any errors in my html. I've tried referencing the array by numbers instead of associative, but I get the same result.</p>
  
  <p>I've written a hundred similar loops without error, but I'm out of ideas here :/</p>