View Single Post

  #1 (permalink)  
Old 10-27-2003
Chris W. Parker
 
Posts: n/a
Default RE: [PHP] Code optimization: single vs. double quotes?

Justin French <mailto:justin@indent.com.au>
on Monday, October 27, 2003 2:12 PM said:

> 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>";


Exactly what is the problem with:

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

I don't see the problem.



Chris.
--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/
Reply With Quote