726 Topics
| |
Friends, I have two bugs I would like to fix,I know thier is someone out thier that can shed some light into this. First one is simple I don't know what I typed wrong for the date function it says this as below Missing argument name. When using named parameters … | |
Can I query a SQL Server 2000 mydatabase.mdf file directly via SQL? If so, how? | |
Hello friends, I want to validate this two checkbox variables on an action page and also an update page [code=coldfusion]<cfinput type="checkbox" name="gender"checked> </label></td> <td>Female</td> <td><label> <cfinput type="checkbox" name="gender"> </label></td>[/code] by default I checked one of them, how can I check if it is checked and what is the best way … | |
I need some help with <cfquery>, I want to authenticate an add form so the user doesn't enter the same value twice or more so I used recordcount like this [code=ColdFusion]<cfquery name="cool.recordcount" datasource="#Request.proto#"> <cfif cool EQ 0> INSERT INTO proton( name, moon ) VALUES( '#Trim(Form.name)#', '#Trim(Form.moon)#', ) <cfif cool EQ … | |
Hello Friends, I want to upload an image to the server and also insert the image path into the database, I have a sample of my code below [code]<cfinput type="text" name="city"> </label></td> <td>State</td> <td><label> <cfinput type="text" name="state"> </label></td> <td> </td> </tr> <tr> <td>Email</td> <td><label> <cfinput type="text" name="email" validate="email" required="no" > </label></td> … | |
I recently started using a remote image url to power my thumbnails on my website. i noticed a significant, but not across the board, slowdown in page load times. i ran an sql monitor and nothing is showing that would cause the issue, so i am wondering; 1. Would a … | |
Hi everybody! I’d like to set up a dynamic “name” in coldfusion 8, with dreamweaver CS-3! I have 2 Cf checkbox forms: “my” , “your” and 2 Cf Image fields: “name”, “site”. Depending on selection, result must be: “myname” or “yourname”; “mysite” or “yoursite”. Could anybody give me a hint? … | |
Hi, I have a list of about 100 pages, each of them using date_create variable for the date they were entered in the database; these entries are from years 2005 to 2008. I need to list the ones from the last six months only, but without hardcoding specific values, so … | |
Does anyone know of a good slideshow component or snippet for cf? basically i would just like to rotate a few thumbnail size images in a featured area of my website. thanks. | |
Hi. I have two sets of code below. The first is part of my old code off a page called item.cfm. the second is the same code, but i have attempted to change the destination link to a url i have stored in my database for the button btnaddtocart.gif. that … | |
Apologies if this is a really basic question, but i am quite new to coldfusion. I have a database where i have some stored standard data in. i can search this database for the data I want, (eg 10 specific records of data), and output it to a form with … | |
Does anyone here have programming experience with PHP and ColdFusion? I am looking for a comparison from someone who develops in both. Thanks | |
I had the following stored procedure calling from a .cfm page via the following cfquery command; this is the cfquery code on my cfm page: [code]<cfquery name="GetProduct" datasource="Allposters3" cachedwithin="#CreateTimeSpan(0,4,0,0)#"> {CALL spNavProducts (#NavID#)}</cfquery>[/code] below here is the actual sql from spNavProducts which is called: [code]set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go … | |
theres problem with this page and its annoying me sooo much basically because of the cfml code in the page its knocked the html and style of the page away. the web site is due this friday and im really stuggling any help would be appreciated [CODE]<cfquery name="GetUser" datasource="2ndhandbooks"> SELECT … | |
i have a problem with this page and neither me or my lecutrer can spot it. all i want it to do is display the details of the person who has just logged in. can any one help?? [CODE]<cfquery name="GetStudent" datasource="2ndHandBooks"> SELECT * FROM students WHERE matno = #Form.MatNo# AND … | |
Hi. I am running cf7 and have a problem. in my application.cfm i have this; <cfparam name="application.ImgPath" default="http://www.urbanposters.com/images/"> <cfparam name="application.TImgPath" default="http://www.urbanposters.com/images/thumbnails/"> <cfparam name="application.TImgPath2" default="http://www.urbanposters.com/images/thumbnails/"> <cfparam name="application.DImgPath" default="http://www.urbanposters.com/images/detail_images/"> Basically, they are the paths of my full size and thumbnail images. I am changing the way we are doing things, and the … | |
Can anybody help me with info on creating a system 5 star voting system in coldfusion or javascript. | |
Hey guys I'm sure some of you have gotten in this situation before. Unfortunately I do not have the experience in CF to know how to do this myself. Basically I'm updating a clients webpage where the webmaster left (quit? who knows) And it is written in cold fusion. During … | |
Hello Friends I ran into a syntax error updating a form, I have added a comment to the line below, Please could anyone tell me what I did wrong!!!! [code]<cfquery name="update student" datasource="#Request.super#"> UPDATE student SET studentfirstname='#Trim(Form.studentfirstname)#',. studentlastname='#Trim(Form.studentlastname)#',. address='#Trim(Form.address)#',. city='#Trim(Form.city)#',. state='#Trim(Form.state)#',. studentage='#Trim(Form.studentage)#',. studentclass='#Trim(Form.studentclass)#',. studentstartdate='#Trim(Form.studentstartdate)#',. studentgraduationdate='#Trim(Form.studentgraduationdate)#',. comments= <cfif Len(Trim(Form.comments)) GT 0> … | |
Check to see if a cfwindow exists When a window gets created by <cfwindow> coldfusion gives it a unique name and not the name you assigned it. I have found a work around in the way of checking for the title of the window as when you create a cfwindow … | |
Hello. Does anyone have a good solution or code snippet for on the fly image resizing? basically, here is my issue. i have a product feed and the provider gives the url to the image, and the size of the thumbnail. i want to create the thumbnail on my pages … | |
ive recently started this web page for a course in uni. however one page is causing a bit of bother basically when i insert my table into the are i want it in the whole page is affected, ie images and lists lost. i have uploaded a word file with … | |
Which type of license I need for a desktop standalone application developed on COLDFUSIONMX ???? | |
Hi Everyone, I am trying to create a text file and send it to a secure server (other than our local one) with coldfusion. I have already added the correct permissions with the Coldfusion Administrator (MX 7) so that is not an issue. However, I am running into difficulties finding … | |
Hi, Please help! We have data that was input into SQL Server using activedit. This data has all kinds of inline styles, and it looks horrible. Is there a way to parse the data and get rid of all inline styles? Thank you for any help you can provide. | |
Hello, I've been searching and searching, but can't for the life of me find anything related to an answer. I'm working off of the code found [URL="http://www.scottpinkston.org/blog/index.cfm/2007/7/13/Image-Uploads-and-Resizing-with-ColdFusion-8"]here[/URL] and want to store the web path ([url]http://www.google.com[/url] & not c:\www\google\) into a database for later. Is there a function built-in which takes … | |
Hello, I'm relatively new to ColdFusion so please bear with me. I'm sure there's probably a simple solution to this but I've literally spent hours online trying to find something but to no avail. Anyway, all I'm trying to do is query a query using the count function. Exm: [code] … | |
Hey guys I having a problem with the null values and I need help when I have a Null value or Empty value I need to make the price = 0. Because I will get this error The value "" cannot be converted to a number Here is the the … | |
How do you update checkboxes on a form in cold fusion? I am using the following code to update other form elements : <cfquery name="qry_content" datasource="A4265_gbci"> update tbl_emailsignup set firstname = '#form.firstname#' , lastname = '#form.lastname#' , email = '#form.email#' , job = '#form.job#', company = '#form.company#' , address1 = … | |
I have coldfusion file that I am calling from my ASP page using the response.redirect() method. Inside my url string, I am passing a variable/value pair as shown below. [code] Response.Redirect("http://www.gpsit.com/tools/glr/index.cfm?acctuid=" + accntData.Uid); [/code] The page that I am calling is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> … |
The End.