View Full Version : Escaping characters
07-23-2002, 03:40 PM
07-23-2002, 03: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, 03: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, 04: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, 06: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, 06:47 PM
07-23-2002, 06:50 PM
the \' worked like a charm
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.