Best of Talk (05/05/04)

 
May 15, 2004

By Dina Hess

Title: Problem with ReReplace
Date: 05/05/04      (5 Posts)
Summary: Need to remove all brackets in a string? CF5 solution:
<cfset other="[\(){}]">
<cfset tmp = REReplaceNoCase(tmp,other,"","ALL")>
<cfset tmp = ReplaceNoCase(tmp,"[","","ALL")>
<cfset tmp = ReplaceNoCase(tmp,"]","","ALL")>
CFMX solution:
<cfset other = "[\\[\]{}()]" />
<cfset tmp = REReplaceNoCase(tmp,other,"","ALL")>
 
Title: Form Button
Date: 05/05/04      (8 Posts)
Summary: After clicking on an <INPUT TYPE="image" NAME="C1" VALUE="update"> button to submit a form, the FORM structure will contain only two corresponding variables: C1.x and C1.y, which represent the x and y coordinates of the user click. FORM.C1=update will not be available as you might expect if you were using <INPUT TYPE="submit">.
 
Title: Database Error Messages
Date: 05/05/04      (7 Posts)
Summary: Download Barney Boisvert's modified CFMX 6.1 exception templates, which list all values passed through CFQUERYPARAM just after the SQL statement. Installation instructions provided.
 

Add a Comment
(If you subscribe, any new posts to this thread will be sent to your email address.)
  
Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting