> No special chars or vars: > echo '<td bgcolor=\'#ffffff\'> </td></tr>'; > > For cases with vars and special chars, I think these > look terrible: > echo '<td bgcolor="'.$bgcolor2.'"> </td></tr>';
I'm a fan of this style - works great with syntax highlighting in homesite. olinux > echo "<td bgcolor=\"$bgcolor2\"> </td></tr>"; > > Whereas this is clear and easy to work with: > echo "<td bgcolor='{$bgcolor2}'> </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