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. |