Forum Moderators: phranque

Message Too Old, No Replies

Argh @ W3C!

Why doesn't it like file vars?

         

ahmedtheking

12:22 pm on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is the validation results for my site:

[validator.w3.org...]

Now what I don't understand is why W3C doesn't like links like [blah.com...]

?

Sanenet

1:00 pm on Jan 9, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



[htmlhelp.com...]

All explained there!

badams1

9:28 pm on Jan 12, 2005 (gmt 0)

10+ Year Member



There is only one problem with this statement:

Note that replacing & with &amp; is only done when writing the URL in HTML, where "&" is a special character (along with "<" and ">"). When writing the same URL in a plain text email message or in the location bar of your browser, you would use "&" and not "&amp;". With HTML, the browser translates "&amp;" to "&" so the Web server would only see "&" and not "&amp;" in the query string of the request.

I have tried putting in &amp; in the url (like with local weather pages) and it doesn't translate to &, instead it gives me a error on the page or please enter the right zip code to continue. Anyone have any suggestions?

ahmedtheking

11:23 pm on Jan 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



you have to put &amp; in the html! if you're using php to run a header, use &, not &amp;!