El mi�, 25-02-2004 a las 04:24, Justin French escribi�:

> Personally, I've been using single quotes for a few years, because it 
> makes echo's in PHP a lot easier:
> 
>       echo "<div id='foo'>{$bah}</div>";
> is a lot easier to read than
>       echo "<div id=\"foo\">{$bah}</div>";

I tend to single-quote the whole PHP statement, that allows me to
double-quote the attributes and keep it highly readable. I also find
concatenation+syntax coloring very helpful

echo '<div id="foo">'.$bah.'</div>';




-- 
Manuel Gonz�lez Noriega
Simplel�gica, construcci�n web  
    URL: http://simplelogica.net
    EMAIL: [EMAIL PROTECTED]
    TELEFONO: (+34) 985 22 12 65
   
Logicola es el weblog de Simplel�gica http://simplelogica.net/logicola/

*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************

Reply via email to