How To Change Color Data [closed]

can someone to help me?
In this cases I want to my display data row to be other color(RED Color) when the data in statuswo is “INSPECTION”
Please help me. in the below this is my code.

Before add this code:
Before add this code

THIS MY CODE

while($row=sqlsrv_fetch_array($query, SQLSRV_FETCH_ASSOC)){
    

When I add this code below

$style = "";                  
if ($row['statuswo'] = "INSPECTION"){
    $style = "style='background:#FF0000;'";
}
echo '<tr>
    <td>'.$row['NopolWo'].'</td>
    <td>'.$row['Tipe'].'</td>
    <td>'.$row['Penerima'].'</td>
    <td>'.$row['statuswo'].'</td>
    </tr>';

After add code:
After add code

So My data got change all to INSPECTION, please help.