W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: PHP and ampersands

From: David Dorward <david@dorward.me.uk>
Date: Sat, 17 Jul 2004 10:22:58 +0100
To: Alan Morris <alangoonermorris@yahoo.co.uk>
Cc: www-validator@w3.org
Message-Id: <1090056177.7808.15.camel@localhost>

On Fri, 2004-07-16 at 17:04, Alan Morris wrote:

> My site at
> http://www.dordogneholidayhomes.co.uk/homealbum.php?id=Chez%20Margot 
> has ampersands in it, because it is generated by php 
> 
> is there a way around this that Im not aware of?

Fix the PHP script so it generates entities rather the raw ampersands.
How you do this depends on the script, but there is nothing in PHP that
should prevent the generation of valid XHTML 1.0 Transitional.

 
-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Saturday, 17 July 2004 05:23:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT