PDA

View Full Version : Do I need to define these ? if so how ?


jeddi
10-03-2006, 04:37 PM
Hi

I am getting validation errors due to using a map link :confused:

This is the link:


<a href = "http://www.streetmap.co.uk/streetmap.dll?Postcode2Map?code=<?php echo "$post_cd1" ?>+<?php echo "$post_cd2" ?>&title=Yodbod.com+Free+Advertising&back=Yodbod.com+free+adverts&url=www.yodbod.com/index.php" >
<b> View Map: <?php echo strtoupper("$post_cd1 $post_cd2"); ?></b></a>


And I get these errors:

general entity "back" not defined and no default entity
reference to entity "title" for which no system identifier could be generated
reference to entity "back" for which no system identifier could be generated

etc. etc.

I don't know how I am supposed to define these entities :o
and would really appreciate some help. - Thanks
The link works fine - but I would like it all valid :)

NancyJ
10-03-2006, 05:00 PM
you need to change your & to &amp; - this isnt a PHP issue btw, its an html validation issue

jeddi
10-03-2006, 05:04 PM
Great - that worked
Thanks :)