Galera como eu poderia "arrumar" essa condição:
<?php while($row = mysql_fetch_assoc( $rs )) { ?> <?php if ($row['produto'] != "") { ?> <tr> <th><?php echo $row["os"] ?></th> <th><?php echo $row["nomeempresa"] ?></th> <th><?php echo $row["produto"] ?> </tr> <?php } ?> <?php if ($row['produto2'] != "") { ?> <tr> <th><?php echo $row["os"] ?></th> <th><?php echo $row["nomeempresa"] ?></th> <th><?php echo $row["produto1"] ?> </tr> <?php } ?> <?php if ($row['produto2'] != "") { ?> <tr> <th><?php echo $row["os"] ?></th> <th><?php echo $row["nomeempresa"] ?></th> <th><?php echo $row["produto2"] ?> </tr> <?php } ?> <?php } ?>