RE: [PHP] escaping HTML
| From: | Jason Murray | Date: | Tue, 12 Dec 2000 00:46:58 +0000 |
| Subject: | RE: [PHP] escaping HTML | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29788@lists.php.net to get a copy of this message | ||
> Apparently? Well, I thought that by some HTML spec that the values needed
to
> be enclosed in double quotes - that single quotes not by standard. But my
> NS4.6 renders the above fine. But will more compliant
I believe you can use whatever quotes you like, as long as you use the same
quote to open and close it.
I use '' most of the time, because most of the time my use of them is in
PHP " strings.
Jason
--
Jason Murray
jasonm@melbourneit.com.au
Web Design Team, Melbourne IT
Fetch the comfy chair!