On Tuesday, October 28, 2003, at 04:29 AM, Chris W. Parker wrote:

olinux <mailto:[EMAIL PROTECTED]>
    on Friday, October 24, 2003 9:41 PM said:

echo "<td bgcolor=\"$bgcolor2\">&nbsp;</td></tr>";

uggh - apparently you've never had to redesign a site/application that uses this style. This is one table cell, but when you work this style through a big app, it's a huge pain (waste of time) to make any changes.

Apparently. What do you recommend?

You have plenty of options... a & b would be my preference:


a) echo "<td bgcolor='{$bgcolor2}'>&nbsp;</td></tr>";
b) echo "<td bgcolor='$bgcolor2'>&nbsp;</td></tr>";
c) echo '<td bgcolor="'.$bgcolor2.'">&nbsp;</td></tr>';
d) echo "<td bgcolor='".$bgcolor2."'>&nbsp;</td></tr>";


Justin French


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to