Thanks guys! I want to hear all opinions, but hopefully a PHP dev will give us the straight poop.
-Shawn "Shawn McKenzie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I came across this post and was hoping to get a gurus opinion on the > validity. TIA > > -Shawn > > I remember reading somewhere re: PHP coding that it is a better coding > practice to use single quotes as much as possible vs. using double quotes in > scripts. When using double quotes, you are forcing PHP to look for variables > within them, even though there may not be any, thus slowing execution > time... > > For example it is better to code: > Code: > echo '<td bgcolor="'.$bgcolor2.'"> </td></tr>'; > > vs. > Code: > echo "<td bgcolor=\"$bgcolor2\"> </td></tr>"; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php