Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 HTML validator help
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

e3stone
Average Member

USA
885 Posts

Posted - 03 May 2001 :  17:17:14  Show Profile  Send e3stone an AOL message
I'm trying to make my site pass the w3.org validator and I'm getting this error:
quote:
Line 173, column 50:
... href="pop_profile.asp?mode=display&id=1">admin</a>, </font> ...
^
Error: unknown entity "id" (explanation...)




I read the explination and it states that "....because '&' has special status in HTML."

So, my question is, is there a series of characters that can replace the "&" symbol so I don't get this error? or is this something that I can ignore?

<-- Eric -->


http://insidewaco.com/forum

Doug G
Support Moderator

USA
6493 Posts

Posted - 03 May 2001 :  18:04:34  Show Profile
server.htmlencode() or server.urlencode()

======
Doug G
======
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 03 May 2001 :  18:28:53  Show Profile  Send e3stone an AOL message
Alright. So, what's the correct syntax for that?
<href=server.urlencode("pop_profile.asp?mode=display&id=1"> ???

I've never used server.urlencode before.

edit: ahhhh, nevermind. I found a page about it. http://www.aspalliance.com/pkvnm/samples/urlencode.asp

Actually, I'll just replace all the '&' signs with '&'
<-- Eric -->


http://insidewaco.com/forum

Edited by - e3stone on 03 May 2001 18:30:16

Edited by - e3stone on 03 May 2001 18:38:47
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 03 May 2001 :  20:03:32  Show Profile  Send e3stone an AOL message
what is the correct syntax if I wanted to use server.urlencode() on this link:
quote:
<form method="POST" action="topic.asp?TOPIC_ID=<% =rsPoll("TOPIC_ID") %>&FORUM_ID=<% =rsPoll("FORUM_ID") %>&CAT_ID=<% =rsPoll("CAT_ID")%>&Topic_Title=<% =ChkString(rsPoll("T_SUBJECT"),"urlpath")%>&Forum_Title=<% =ChkString(left(rsPoll("F_SUBJECT"), 50),"urlpath") %>&pollresults=1" name="Vote">


I'm not sure whether I put the server.urlencode inside the quotes of the link or what. I'm clueless

<-- Eric -->


http://insidewaco.com/forum

Edited by - e3stone on 03 May 2001 20:04:43
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07