how to keep "" in form value?

Results 1 to 2 of 2

Thread: how to keep "" in form value?

  1. #1
    Join Date
    Dec 1969

    Default how to keep "" in form value?

    how to keep "" in form value?<BR>Like value=&#039well "iam" some&#039, but then what about single quots?

  2. #2
    Ryne Guest

    Default RE: how to keep

    I think double quotes entry will not make any trouble to your SQL statement. What makes trouble is single quotes. Therefore, you must replace all single quotes with double single quotes (not double quotes) .<BR>--------------------------------------------------------------<BR>strsomething = Request("something")<BR>strsomething = replace(strsomething,"&#039","&#039&#039")<BR>-------------------------------------------------------------<BR>But you don&#039t have to do anything for double quotes.

Posting Permissions

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