Form Error

Results 1 to 2 of 2

Thread: Form Error

  1. #1
    Join Date
    Dec 1969
    Posts
    72

    Default Form Error

    Hi,<BR>I have a form that I wish to submit into a database. When ever you place a &#039 in it it gets an error on submission saying that I can not use &#039 in my message. I was wondering if there was anyway to use the replace function to change this so it can be placed into the database. Or if there is any other way to do it. Thanks

  2. #2
    Join Date
    Dec 1969
    Posts
    1,388

    Default RE: Form Error

    Yes you can - string=Replace(string,"&#039","&#039&#039")<BR><BR >SQL uses two apostrophies to add one - like Response.write """" will output one "<BR><BR>I wonder if this form takes that into account? ;-)

Posting Permissions

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