Re: General Coding Question
| From: | Christian Reiniger | Date: | Thu, 21 Jun 2001 13:21:48 +0000 |
| Subject: | Re: General Coding Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54732@lists.php.net to get a copy of this message | ||
On Thursday 21 June 2001 09:31, Ray Hilton wrote:
XML allows both single and double quotes for attributes, and XHTML is
defined as XML DTD, so it allows it too.
> I dont think thats XHTML complient... Correct me if im wrong?
>
> -----Original Message-----
> im here to start a flamewar.
>
> dont use " then. why not use ' ?
>
> echo "
> <input type=\"text\" name=\"name\" value=\"$name\">
> "
>
> echo "
> <input type='text' name='name' value='$name'>
> "
> I like the second. it is proper html check it with w3.org.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it's the only thing that ever has."
- Margaret Mead