Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Using response.write with database records

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Using response.write with database records
  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 >>
 Using response.write with database records - 10/7/2004 3:55:23 AM   
  Phate

 

Posts: 1
Score: 0
Joined: 10/7/2004
From: United Kingdom
Status: offline
Wonder if anyone can help.

I am designing a web page using vbscript and MS Access database.

The administration pages capture the information on products i.e. screen size, height etc. and saves them to the database to be displayed on the customer web pages.

When my users fill in the details for screen size they use characters usually reserved for coding i.e. 15" for 15 inch.

When I use response.write objrs("recordfield") to display the record information the page gets messed up because of the " in the record field.

Is there a way to display the record information as a block of text and not have to worry about what the content is.
 
 
Post #: 1
 
 Re: Using response.write with database records - 11/23/2004 11:20:25 AM   
  2old

 

Posts: 6
Score: 0
Joined: 12/28/2003
From: United Kingdom
Status: offline
When dealing with user input, it is best to take control of the situation because user input can be unpredictable. Try offering check boxes, e.g. 3 options - 15 inch, 17 inch, 19 inch, then you'll always be dealing with the same type of input every time.

Hope that helps
2old

(in reply to Phate)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Using response.write with database records 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