Re: heredoc usage [WAS: <OPTION]
| From: | Nisse Engström | Date: | Sat, 28 Oct 2006 11:27:37 +0000 |
| Subject: | Re: heredoc usage [WAS: <OPTION] | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243789@lists.php.net to get a copy of this message | ||
On Thu, 26 Oct 2006 13:10:17 -0400, Robert Cummings wrote:
> On Thu, 2006-10-26 at 11:43 +0200, clive wrote:
>> or you could write it likes this '
>> echo "<option value='$day' $selected > $day </option>";
>>
>> much easier to read, but slightly more taxing on the server.
>
> Also slightly more taxing on standards since single quotes are bad :)
As far as I can tell, single and double quotes
are interchangeable (but unmixable) in both HTML
and XHTML. When did single quotes go bad?
--nfe