> No special chars or vars:
> echo '<td bgcolor=\'#ffffff\'>&nbsp;</td></tr>';
> 
> For cases with vars and special chars, I think these
> look terrible:
> echo '<td bgcolor="'.$bgcolor2.'">&nbsp;</td></tr>';

I'm a fan of this style - works great with syntax
highlighting in homesite.

olinux


> echo "<td bgcolor=\"$bgcolor2\">&nbsp;</td></tr>";
> 
> Whereas this is clear and easy to work with:
> echo "<td bgcolor='{$bgcolor2}'>&nbsp;</td></tr>";


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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

Reply via email to