xhtml validation, php and &

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
thurstan
Forum Commoner
Posts: 28
Joined: Mon Feb 28, 2005 7:40 am

xhtml validation, php and &

Post by thurstan »

hi

i'm trying to validate a page that includes php links with '&'. here's the section of code with the '&', it's an include:

Code: Select all

<div class="basket">
<a href="http://www.fastcart.co.uk/cart/index.php?id=9272&action=showcart">view basket</a>
<a href="http://www.fastcart.co.uk/cart/index.php?id=9272&action=confirm">checkout</a>
</div>
from looking around i understand that by physically changing the & to & this should solve the problem, but, it doesn't, the same validation error occurs.

has anyone come across this problem before that could offer some advice?

thank you very much.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

Post Reply