strange validation error

G

Gernot Frisch

Hi,

with this site:
http://www.glbasic.com/main.php?site=news


I always get:

Line 165, character 92:
.... GLBasic.com/main.php?lang=en&site=order#free"><br>FREE for s ...


Somehow it doesn't like the "&". But... why? And what should I do?
I replaced it with &amp; but then firefox will not recognize the link
properly.
 
A

Adrienne Boswell

Hi,

with this site:
http://www.glbasic.com/main.php?site=news

I always get:

Line 165, character 92:
... GLBasic.com/main.php?lang=en&site=order#free"><br>FREE for s ...

Somehow it doesn't like the "&". But... why? And what should I do?
I replaced it with &amp; but then firefox will not recognize the link
properly.

Please provide a page with the &amp; in the link. Firefox, or any other
browser, should not have any problems with
name=value&amp;name=value&amp;=value
 
M

mynameisnobodyodyssea

Hi,

with this site:http://www.glbasic.com/main.php?site=news

I always get:

Line 165, character 92:
... GLBasic.com/main.php?lang=en&site=order#free"><br>FREE for s ...

Somehow it doesn't like the "&". But... why? And what should I do?
I replaced it with &amp; but then firefox will not recognize the link
properly.

If you mean that you got that error as an HTML mark-up error
it is because you need to escape the ampersand character
& within URLs in <a> tags as &amp;
not to be a confusion with the start of an entity reference, see
http://www.htmlhelp.com/tools/validator/problems.html#amp

I do not understand why, when you escaped the ampersand,
the link did not work in your browser.
Did you try to change to an XHTML doctype?

What do you get when you click on the link
with the escaped ampersand?
 
N

Neredbojias

Well bust mah britches and call me cheeky, on Mon, 18 Feb 2008 15:33:53 GMT
Gernot Frisch scribed:
Hi,

with this site:
http://www.glbasic.com/main.php?site=news


I always get:

Line 165, character 92:
... GLBasic.com/main.php?lang=en&site=order#free"><br>FREE for s ...


Somehow it doesn't like the "&". But... why? And what should I do?
I replaced it with &amp; but then firefox will not recognize the link
properly.

I use &amp; in links in Firefox all the time with no problem. Can you
demonstrate with a url?
 
G

Gernot Frisch

I use &amp; in links in Firefox all the time with no problem. Can you
demonstrate with a url?


Oh dear! I replaced the text also in the description I guess. Now it seems
to work perfectly. Thank you!
 
N

Neredbojias

Well bust mah britches and call me cheeky, on Tue, 19 Feb 2008 08:29:10
GMT Gernot Frisch scribed:
Oh dear! I replaced the text also in the description I guess. Now it
seems to work perfectly. Thank you!

We all make boo boos, -everyone. Don't sweat it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top