Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
bumblebee1965 #1
Passing Parameters with Single Quote
I am trying to pass this information to another cfm file. This works fine,
except when the name has a single quote (ie. Name = Katie's car). What is the
best way to handle this. Thanks in Advance. <a
href='test.cfm?name=#name#&number=#number#'></a>
bumblebee1965 Guest
-
CF7 query update with single quote
Hi i'm migrating an application from CF5 to CF7 (hotfix3) and have the following problem: the query <cfquery...> UPDATE t1 SET f1 = '#var1#'... -
Single Quote Problem in Excel to Export
Hi, We have to export our data in sql server table to any excel sheet. We have a template to export, using oledb we are inserting rows to this... -
double single quote problem in cfquery
Hi, i've this problem with ColdFusion MX 6.1 Updater and MX 7 If i try to insert a text containing a single quote (for example TEST') all works... -
Adding single quote to javascript/php block
I have a block of code that calls a function to copy some text to the clipboard. The text includes some text and an email from a recordset. I am... -
exec, single quote & security...
Hello, (i'm particulary interested in security issue - php is running on apache + linux) i need to pass the result (here $exp) of a form... -
bumblebee1965 #2
Passing Parameters with Single Quote
I am trying to pass this information to another cfm file. This works fine,
except when the name has a single quote (ie. Name = Katie's car). What is the
best way to handle this. Thanks in Advance. <a
href='test.cfm?name=#name#&number=#number#'></a>
bumblebee1965 Guest
-
JMGibson3 #3
Re: Passing Parameters with Single Quote
HREF='somewhere.cfm&prmName=#UrlEncodedFormat( Name)#'
then in somewhere.cfm
<cfset varName = UrlDecode(url.prmName)>
JMGibson3 Guest
-
tzimmerman #4
Re: Passing Parameters with Single Quote
Try using [url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-b20.htm[/url] with a CFSQLType of CF_SQL_VARCHAR.
Ted Zimmerman
tzimmerman Guest



Reply With Quote

