I have a form and an array (named arrayFormnames) that contains all the names in the form fields. I have the following code that sets up the variables and the default background color for the...
Hi all,
I'm passing a query that's dynamically generated by information entered via a form. (So the user enters state date, end date, etc.)
I want to take this exact string after it's c...
I have a site that pulls all its main page content from a database because the person using it wants to be able to do self-administration. Several of the pages are almost exactly the same with...
I have an application.cfc that has a lot of things pre-set into the application scope like database details , address etc. would it be possible to setup some sort of config file which a devel...
I have a form that sends email and stores in db.
I have fields that allows multiple entries (S_FirstName, S_MiddleName, S_LastName), the problem is it doesn't store in separate rows.
As...
In the array of structures that was just created in this code how do I refer to the email variable in a CFMail tag? I have tried the following:
To="#session.Results.Result.email#"
To="#ses...
can someone tell me why this isnt working??? I ma gettin an error that says the destination directory doesnt exist but it does!
<cfset imagename = listlast(form.filename,"\")>
<cfif...
I want to save the ID of the last inserted record and I'm getting the following error:
Element GENERATED_KEY is undefined in ADDALBUM.
The error occurred in C:\ColdFusion8\wwwroot\auto...
coldfusion mx7/ mysql 5.0 / windows 2003 server
I have records in my database with a "ListDate" field formatted like mm/dd/yyyy, and I have a results page that displays records by price asc. ...
This should be VERY simple for someone to answer, but I can't seem to find the answer anywhere. I want to compare two variables in coldfusion, but I can't seem to find the appropriate syntax....
I need to attach a PDF to an outgoing email. I've tried to use cfmailparam but due to the server setup here (working out of a large institution) I'll have to set up a temp file to bounce the f...
when i create a cfcollection and then cfindex it then cfsearch it i get results from my subdirectories including folders i don't want to be indexed! can i stop it from indexing specified direc...
Experts,
My query is returning the time value as 1900-01-01 16:00:00 (since we don't have time data type in SQL 2005). And I need to check the current time in CF against the value I have got ...
When using the CFLAYOUT codeblock provided, it works fine in Safari, Opera, and Firefox, but when clicking a tab in Internet Explorer, instead of the area below the tabs being populated with t...
The following CFML would write out numbers from 1 to 10.
<CFLOOP from="1" to="10" index="i">
<CFOUTPUT>#i#</CFOUTPUT>
</CFLOOP>
How can i loop to write out numbers in reverse from 1...
HI Experts
I am trying to modify (due to a bug detected) a CF template (programmed previously by another programmer). I dont know much about CF, but can understand the existing code.
In my a...
Does anybody have a function or a way to check if a form field is passing a HEX value?
-- -- -- -- -- --
Question:
-- -- -- -- -- --
I am doing a query for a list of IDs below in students_list1, passing the valuelist through a CFSET tag, and then doing a second query based ...
I have some forms on my site that are now required to be https instead of http. Is there something I can include in a include file or my application.cfc file to determine the page and to chang...
<cfinput type="text" name="screenname" id="screenname" validate="regular_expression" pattern="^[a-zA-Z]?$" value="#name#" validateat="onsubmit, onserver" required="yes" size="20" maxlength="20...
I have a form that's pretty long and thought it might save some time to loop through the field names in order to update the database it's dealing with. However there are certain field names (s...
Hi,
I am totally new to Coldfusion so please be gentle.
I have a table with the following structure
imageID
Image
ThumbLocation
ImageLocation
SizesAvailable
Orientation
From...
please visit the following page in IE or Safari first and notice you see the 2 tables in the cfdiv
then look in firefox.
Why wont the first table display when viewing in firefox??????
Hello,
I have a php function which I would like to convert to coldfusion.
My code creates a directory as follows every time a new vehicle is added to the system.
<cfset destination="c:\coldfusion8\wwwroot\automotive\photos\"&#vin#&"\" >
Now when I delete vehic...