Forum Moderators: coopster
i'm using a script to alternate row colors while displaying MySql results on my pages. when i'm trying to validate my page at W3C i get an error related to:
$color = "#E9E9E9";
W3C validation says: "an attribute value must be a literal unless it contains only name characters"
it means that quote marks are not parsed on the html output, the W3C validator reads as:
</tr><tr bgcolor=#E9E9E9>
(notice there's no quote marks)
how can i make my code to display the quote marks around attribute values on the parse?
thanks in advance,
tito