View Full Version : Resolved Validation Issues

Sep 17th, 2009, 05:34 PM
Hi all,

I'm recieving 22 validation issues that are all related to the same issue! W3C is claming I have an un-encoded & but Ive searched through the xhtml and can't spot one at all!

Could another issue be causing this to not validate correctly?

Heres the link for anyone who may be able to help:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.educationvacancies.com%2Ftestpages%2Findex.php%3Fpg%3D1;accept=image%2Fgi f%2C%20image%2Fx-xbitmap%2C%20image%2Fjpeg%2C%20image%2Fpjpeg%2C%20application%2Fx-shockwave-flash%2C%20application%2Fxaml%2Bxml%2C%20application%2Fvnd.ms-xpsdocument%2C%20application%2Fx-ms-xbap%2C%20application%2Fx-ms-application%2C%20application%2Fvnd.ms-powerpoint%2C%20application%2Fmsword%2C%20application%2Fvnd.ms-excel%2C%20*%2F*;accept-language=en-gb

Many Thanks,


Sep 17th, 2009, 05:42 PM
Well, if you look at the validation errors they all come from "Yorkshire & Humberside". Perhaps your php page is pulling this from a database rather than actually being in the php code?

Sep 17th, 2009, 05:53 PM
Thanks SB65....

Never thought that something being pulled out of the database might be causing the error.

As a reference point for other people the solution was to wrap my php echo's with the htmlentities property.... I know this is PHP related but nevermind!

Thanks once again SB65.