echo for style in table row and table data
<pre><code>&lt;tr &lt;?php if($isOverDeadline)
    {
      echo ' style="background-color:#CC3300"';
    }
  ?&gt;&gt;&lt;td width="250" &lt;?php
      if($isOverDeadline)
      {
    echo ' style="color:#fff"';
      }
      ?&gt;&gt;&lt;?php echo $something; ?&gt; &lt;/td&gt;&lt;/tr&gt;
</code></pre>

<p>I find that the nested php blocks inside tr and td do not work. Could someone tell me what is wrong ?</p>
