Quotes Problem

Results 1 to 3 of 3

Thread: Quotes Problem

  1. #1
    Join Date
    Dec 1969

    Default Quotes Problem

    User enters some data in a text box. I need to store that into the database. whenever the user enters quotes in the text box like "&#039;" or &#039;"&#039;, my program is giving an error. I can&#039;t restrict user not entering quotes in his message. What I need to do for this problem?? Any help is greately appreciated.<BR><BR>Thnx..

  2. #2
    Joey Guest

    Default RE: Quotes Problem

    Use the replace command to double up single quotes before doing the insert.<BR><BR>Replace(strReplace,"&#039;","&#039; &#039;")<BR><BR>Or you can replace quotes with the ascii format.

  3. #3
    Join Date
    Dec 1969

    Default RE: Quotes Problem

    http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=27<BR><BR>look at this FAQ as well. it may provide some insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts