View Full Version : Escaping characters
07-23-2002, 02:40 PM
07-23-2002, 02:46 PM
use the escape function to 'encript' the string
escape('my name') -> my%20name
and the unescape for the oposite
unescape('my%20name') -> my name
07-23-2002, 02:50 PM
I tried that, but the problem is that when i pass a string with a ' into the escape function that also fails
07-23-2002, 03:18 PM
how are you placing that string.. with ASP..
if so then
if it's all DHTML then maybe it should look something like this..
07-23-2002, 05:27 PM
Im not sure what you mean. The code is exactly what I wrote origionally. I have a bunch of names hyperlinked
07-23-2002, 05:47 PM
07-23-2002, 05:50 PM
the \' worked like a charm
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.