Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


HTMLEncode Method

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,174
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> HTMLEncode Method
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 HTMLEncode Method - 6/16/2001 4:07:15 AM   
  berand

 

Posts: 13
Score: 0
Joined: 5/29/2001
From: USA
Status: offline
Sorry, but i am new to all these stuff...

Does <%=Server.HTMLEncode(sXXXX)%>
produces a string 'sXXXX' on the page
or
it produces a value from a database?
Can sXXXX be a name/variable from a database and the value of sXXXX is printed out insted of the letters 'sXXXX'
being printed out on the page?
Is <%=Server.HTMLEncode(sXXXX)%>
different from
<%=Server.HTMLEncode("sXXXX")%> ??

Urgent
Thanx (^o^)
 
 
Post #: 1
 
 Re: HTMLEncode Method - 6/16/2001 4:08:13 AM   
  winkumpel

 

Posts: 11
Score: 0
Joined: 5/23/2001
From: Netherlands
Status: offline
HTMLencode converts strings to HTML-safe strings. So < becomes <, etc. Usually you use this function on
input data, like posts made here.

server.htmlencode("string") encodes the literal 'string'

server.htmlencode(string) encodes the contents of the variable named string.

(in reply to berand)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> HTMLEncode Method Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts