title: put variable in bold with PHP
body: <p>I would like to put variables (inside a select) that I retrieve from a mysql database with php in bold(or italic). I tried the two following ways, and also with , but it doesn't work?
  In this example it tried to put everything bold, but I actually want only $row['test'] in bold. Thanks!</p>
  
  <pre><code>&lt;option value="&lt;?php echo $row['ptname'].$row['test'];?&gt;"&gt;
      &lt;span style="font-style:italic"&gt;
          &lt;?php echo $row['ptname']."&amp;nbsp;&amp;nbsp;".$row['test'];?&gt;
      &lt;/span&gt;
  &lt;/option&gt;
  
  &lt;option value="&lt;?php echo $row['ptname'].$row['test'];?&gt;"&gt;
      &lt;?php echo '&lt;b&gt;'.$row['ptname']."&amp;nbsp;&amp;nbsp;".$row['test'].'&lt;/b&gt;';?&gt;
  &lt;/option&gt;
  </code></pre>