title: highlight a row in a table (html)
body: <p>I have a simple webpage.
  I'm generating a table from a SQL query and trying to highlight a row (change background colour to yellow for that row) for some rows.</p>
  
  <p>This is my current table:</p>
  
  <pre><code> &lt;table class="tftable" border="1"&gt;
      &lt;tr&gt;
          &lt;th&gt;No_&lt;/th&gt;
          &lt;th&gt;Type&lt;/th&gt;
          &lt;th&gt;Aanbest datum&lt;/th&gt;
          &lt;th&gt;Aanbest uur&lt;/th&gt;
          &lt;th&gt;Description&lt;/th&gt;
          &lt;th&gt;Bouwheer&lt;/th&gt;
          &lt;th&gt;Werf adres&lt;/th&gt;
          &lt;th&gt;Klasse&lt;/th&gt;
          &lt;th&gt;Calculator&lt;/th&gt;
          &lt;th&gt;Plaatsbezoek&lt;/th&gt;
          &lt;th&gt;Status&lt;/th&gt;
  &lt;?php 
      while($rows = sqlsrv_fetch_array($getResults, SQLSRV_FETCH_ASSOC))
      {
  ?&gt;        
          &lt;tr&gt;
              &lt;td&gt;&lt;?php echo $rows['No_']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Job Type Code']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Custom Field 8']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Custom Field 9']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Description']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Custom Field 1']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Site Address'] .", " . $rows['Site Postcode'] . " " . $rows['Site City']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Custom Field 5']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Salesperson Code']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Custom Field 6']; ?&gt;&lt;/td&gt;
              &lt;td&gt;&lt;?php echo $rows['Internal Status']; ?&gt;&lt;/td&gt;
          &lt;/tr&gt;
  &lt;?php     
      }
  ?&gt;    
  &lt;/table&gt;
  </code></pre>
  
  <p>Each row contains a Date field. I would like to compare that date with the current date, if equal then highlight, if not nothing happens.</p>
  
  <p>UPDATE: see image that proposed solution only updates the Date field
  <a href="https://i.stack.imgur.com/B1ENA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B1ENA.jpg" alt="enter image description here"></a></p>