title: PHP not displaying properly
body: <p>I am having an issue on designing a web page. I want to display a POST variable inside of an HTML table.</p>
  
  <p>Here is the form code from the first page:</p>
  
  <pre><code>&lt;form action="buy.php" method="post"&gt;
  &lt;input type="text" name="uid" /&gt;
  &lt;input type="submit" value="Buy Now" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>This code works fine if I am displaying the POST variable on a normal blank PHP file.</p>
  
  <p>But when I go to use it in an html table it just won't display.</p>
  
  <p>Here is the table code:
      </p>
  
  <pre><code>&lt;td id="bal"&gt;&lt;?php echo $_POST['uid']; ?&gt;&lt;/td&gt;
  &lt;td id="amt"&gt;test1&lt;/td&gt;
  &lt;td id="type"&gt;test2&lt;/td&gt;
  </code></pre>
  
  <p></p>
  
  <p>The first tabledata just appears blank.</p>
  
  <p>Can anyone help me fix this?</p>
  
  <p>Here is the entire code in the buy.php file: <a href="http://pastebin.com/ffWAP92C" rel="nofollow noreferrer">http://pastebin.com/ffWAP92C</a></p>
  
  <p>(was having trouble posting it in here ) </p>
  
  <p>This is what the problem looks like:</p>
  
  <p><img src="https://i.imgur.com/XTOeKE0.png"></p>