How to pass #, %, >, <, etc, through a g

Results 1 to 2 of 2

Thread: How to pass #, %, >, <, etc, through a g

  1. #1
    Noƫ Guest

    Default How to pass #, %, >, <, etc, through a g

    I am trying to pass some ASP-dangerous characters through an HTML "get" request to another ASP page. When I display the data on the 2nd page, it truncates at the special charcters of % and #. Is there a function out there that converts all wonky characters to something ASP can handle, especially one with quotes, &#062;&#039s, and %-#-&&#039s? I would rather use that than have a mongo replace function. Thanks!

  2. #2
    Dave2000 Guest

    Default RE: How to pass #, %, >, <, etc, through

    Use the REPLACE function. You use it like this:<BR><BR>REPLACE(myValue,"%","+") <BR><BR>and it will replace all the "%" in your fields to "+". Just make sure you use the REPLACE function on the page that is receiving the info.

Posting Permissions

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