Assuming you have CF5 - otherwise, get the custom tag version.

----- Original Message ----- 
From: "Jamie Jackson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, December 04, 2001 4:22 PM
Subject: Re: what is going on??


> Try <cfdump var="#getinfo#"> and make sure your query is returning a
> result set. I'll bet it's not.
> 
> J
> 
> On Tue, 04 Dec 2001 17:17:04 -0500, in cf-talk you wrote:
> 
> >I can't figure out what's going on with this code. I create a
> >simple page that has a cfoutput block. I upload it to the server
> >and the cfoutput block and everything in it disappears, but the
> >static HTML code still renders like it should. Although extra HTML
> >code appears when I view the page source. I've recreated this page
> >in CF Studio, Dreamweaver and good old Notepad and this keeps
> >happening.  Has anyone had this problem before? What's going on?
> >
> >Here are the original and the source from the parsed document:
> >
> >My original:
> ><html>
> ><head>
> ></head>
> >
> ><body bgcolor="yellow">
> ><cfquery name="getinfo" datasource="elrsub2">
> >select ContactName, ContactEmail, SubID
> >from Subscribers
> >where SubID=8391
> ></cfquery>
> >
> ><p>Your account's username and password were sent to <cfoutput
> >query="getinfo">#ContactName# at #ContactEmail#.</cfoutput></p>
> >
> ><p>If this person is longer at your organzation, please contact
> >[EMAIL PROTECTED]</p>
> >
> ></body>
> ></html>
> >
> >
> >The parsed document:
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> >
> ><html>
> ><head>
> >        <title>Untitled</title>
> ></head>
> ><body>
> ></body>
> ></html>
> >
> ><html>
> ><head>
> ></head>
> >
> ><body bgcolor="yellow">
> ><p>Your account's username and password were sent to </p>
> ><p>If this person is longer at your organzation, please contact
> >[EMAIL PROTECTED]</p>
> ></body>
> ></html>
> >
> >If you want to see it,
> >http://www2.eli.org/elr/dummy/getpassword.cfm.
> >Thanks!
> >Jen
> >[EMAIL PROTECTED]
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to