/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Do I need to define these ? if so how ?

Hi

I am getting validation errors due to using a map link ?

This is the link:

[code=php]
<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>[/code]

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 😮
and would really appreciate some help. – Thanks
The link works fine – but I would like it all valid ?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@The_Little_GuyOct 03.2006 — I am not sure if your way is valid or not, so this is my guess:

[code=php]<?php echo strtoupper("$post_cd1 $post_cd2"); ?>[/code]

to

[code=php]<?php echo strtoupper("$post_cd1").' '.strtoupper("$post_cd2");

//OR

$string = $post_cd1.' '.$post_cd2;
echo strtoupper("$string"); ?>
[/code]
Copy linkTweet thisAlerts:
@DaveinLondonauthorOct 03.2006 — Thanks for your reply

I sorted it now - I had to change the & to &and;
×

Success!

Help @DaveinLondon spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...