title: PHP: HTML Tags Not Rendering
body: <p>Hope y'all can help! </p>
  
  <p>I'm using a PHP driven link directory program and, fo some reason, the summary descriptions recorded to my MySQL database and being generated, BUT the HTML tags won't render on the page. I've included the code below and here's an <a href="http://abiautism.com/autism-resources/?page=pages&amp;id=2" rel="nofollow">http://abiautism.com/autism-resources/?page=pages&amp;id=2</a> Any help would be greatly appreciated!</p>
  
  <pre><code>&lt;?php if ($rowpages[IMAGENAME]  != "") { ?&gt;
  &lt;?php if ($rowpages[WIDTH] == '') $rowpages[WIDTH] = '128px'; ?&gt;
  &lt;?PHP
  $filename = "$svr_rootscript/product_images/$rowpages[IMAGENAME].jpg";
      if (file_exists($filename)) $ext = jpg;
  
   $filename = "$svr_rootscript/product_images/$rowpages[IMAGENAME].png";
      if (file_exists($filename)) $ext = png;
  ?&gt;
  &lt;?PHP if ($ext != '') { ?&gt;
  &lt;img class="photo" src="product_images/&lt;?php echo $rowpages[IMAGENAME]; ?&gt;.&lt;?php echo $ext; ?&gt;"     width="&lt;?php echo $rowpages[WIDTH]; ?&gt;"&gt; 
  &lt;?PHP } ?&gt;
  &lt;?PHP } ?&gt;
  &lt;h1&gt;&lt;?php echo $rowpages[HEADER]; ?&gt;&lt;/h1&gt;
  
  &lt;h3&gt;&lt;?php $description = preg_replace("/\n/","\n&lt;BR&gt;",$rowpages[CAPTION]); ECHO $description;   ?&gt;&lt;/h3&gt;
  
  &lt;?PHP if ($rowpages[SHOWADS] != '') { ?&gt;
  &lt;div align ="center"&gt;&lt;?php echo $rowxxx[ADS]; ?&gt;&lt;/div&gt;
  &lt;?PHP } ?&gt;
  
  &lt;b&gt;&lt;p&gt;&lt;a href="&lt;?php echo $rowpages[URL]; ?&gt;" target="_blank"&gt;&lt;? echo $pages_vst; ?&gt;&lt;/a&gt;&lt;/p&gt;&lt;/b&gt;
  
  &lt;?php $description = preg_replace("/\n/","\n&lt;BR&gt;",$rowpages[PAGECONTENT]); ECHO    $rowpages[PAGECONTENT]; ?&gt;
  </code></pre>