echo "<td bgcolor='{$bgcolor2}'> </td></tr>";
Unless your $bgcolor2 variable has double quotes in it, then the above is poor HTML style. I don't think omission of double quotes has been considered valid HTML since version 3 (admittedly though, as long as they let it render, people will use it :)
Cheers, Rob.
Single quotes are valid in html, though not in xhtml.
Marek
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php