Re: Quotes in Heredoc
| From: | Ashim Kapoor | Date: | Sat, 26 Feb 2011 10:57:53 +0000 |
| Subject: | Re: Quotes in Heredoc | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311585@lists.php.net to get a copy of this message | ||
The quotes you mention are in the HTML, nothing to do with PHP. HTML will
work without the quotes in most cases (unless there's a space in the value
for the attribute) but the quotes are required in XHTML and will cause
unexpected results.
Can you elaborate on the XHTML part? Do you mean they are required in XHTML
but optional in HTML ?
Many thanks,
Ashim.