Hm. Little performance tip - don't use printf() if all you're using is %s. (That's just a rule of thumb; there are exceptions, but this isn't one of them.)
To write it the way you have (hm... which one is dw? This is one of the problems...):
printf("<tr><td%s>%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</tr>\n", $myrow["dw"]=="special" ? " style=\"color:red;\"" : "", $myrow["dw"], $myrow["vw"], $myrow["aw"], $myrow["artist"], $myrow["title"], $myrow["lable"]);
Now, when $myrow["dw"]=="special", the appropriate cell will get an extra style attribute making the text inside it red. Otherwise the text will just be the usual. To switch between two colours, say red/blue, a more sensible version would be:
printf("<tr><td style="color:%s;">%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</tr>\n", $myrow["dw"]=="special" ? "red" : "blue", $myrow["dw"], $myrow["vw"], $myrow["aw"], $myrow["artist"], $myrow["title"], $myrow["lable"]);
And if things start to get hairy, break some of the code out and go:
$dwcolour = $myrow["dw"]=="special" ? "red" : "blue";
printf("<tr><td style="color:%s;">%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</td>
<td>%s</tr>\n", $dwcolour, $myrow["dw"], $myrow["vw"], $myrow["aw"], $myrow["artist"], $myrow["title"], $myrow["lable"]);