Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

apostrophe ASP form

New Here ,
Oct 19, 2010 Oct 19, 2010

Hi,

I have got a form that allows people to book for an event. This data also gets saved into a database. When people type in an apostrophe they receive an error. What is the best way to insert an apostrophe into a database via a form?

I am using asp.

Hope someone can help!

Thanks

TOPICS
Server side applications
623
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 19, 2010 Oct 19, 2010

Use Replace() to replace each single quote character with 2 single quote characters.

Translate
LEGEND ,
Oct 19, 2010 Oct 19, 2010

Use Replace() to replace each single quote character with 2 single quote characters.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 20, 2010 Oct 20, 2010
LATEST

Thank you very much 😄

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines