title: Format table row based on value
body: <p>Im would like to style a table row based on the value in the first cell.</p>
  <p>order_status has 3 options. 'Done'  'Optie'  'Def'</p>
  <pre><code>// output data of each row
              while($row = $result-&gt;fetch_assoc()) 
                   { 
                          echo &quot;&lt;tr&gt;&quot;; 
                          echo &quot;&lt;td&gt;&quot; . $row['order_status'] . &quot;&lt;/td&gt;&quot;; 
                          echo &quot;&lt;td&gt;&quot; . $row['planning'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_name'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_number'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_pl'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_date_in'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_date_out'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_location'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_customer'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_contact'] . &quot;&lt;/td&gt;&quot;;
                          echo &quot;&lt;td&gt;&quot; . $row['order_content'] . &quot;&lt;/td&gt;&quot;;
                        echo &quot;&lt;/tr&gt;&quot;; 
                        } 
                      echo &quot;&lt;/table&gt;&quot;; 
  </code></pre>