Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > use of htmlencode with access database

Reply
Thread Tools

use of htmlencode with access database

 
 
diablo
Guest
Posts: n/a
 
      06-26-2005
hi

I was told that if i am storing html and user input into a Access 2000
database i need to use

dbRecordset.fields("comments") =
Server.HTMLEncode(user_input_from_textarea_which_m ay_include_html)

Is this so? and also do i need to do anything to the retrieved text so that
i can

<body><%=dbRecordset.fields("comments")%></body>

I believe i need to be aware of such things as quotes and apostraphes

Thanks for any help

Diablo







 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Database Database Database scott93727@gmail.com Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase scott93727@gmail.com Computer Information 0 09-26-2012 09:40 AM
why use htmlencode diablo ASP General 4 07-08-2005 06:38 AM
Always use Server.HTMLEncode? Hraklhs ASP General 0 01-07-2004 10:08 AM
How to use Server.HtmlEncode in DataGrid Bind Makarand ASP .Net 0 11-06-2003 09:22 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57