Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
scotiegirl #1
CFMail return of two queries?
Help. I have an e-commerce site where the receipt I need to email out must
contain the returned information of two queries. I know a <cfmail> tag can't
have a <cfoutput query=****> tag residing in it. And all the information I've
been finding gives me information on sending the output of one query. Can
anyone give me some guidance? Thanks in advance.
scotiegirl Guest
-
multiple queries in a cfmail tag ?
How can you create multiple queries in a cfmail tag ? Anyone? -
#25827 [Opn->Bgs]: PHP LDAP queries against Active Directory return incomplete arrays
ID: 25827 Updated by: sniper@php.net Reported By: pennington at rhodes dot edu -Status: Open +Status: ... -
#25827 [Fbk->Opn]: PHP LDAP queries against Active Directory return incomplete arrays
ID: 25827 User updated by: pennington at rhodes dot edu Reported By: pennington at rhodes dot edu -Status: Feedback... -
#25827 [Opn->Fbk]: PHP LDAP queries against Active Directory return incomplete arrays
ID: 25827 Updated by: sniper@php.net Reported By: pennington at rhodes dot edu -Status: Open +Status: ... -
#25827 [Bgs->Opn]: PHP LDAP queries against Active Directory return incomplete arrays
ID: 25827 User updated by: pennington at rhodes dot edu Reported By: pennington at rhodes dot edu -Status: Bogus... -
scotiegirl #2
Re: CFMail return of two queries?
Oh... I'm sorry.... Scratch that. Three queries.
scotiegirl Guest
-
Stressed_Simon #3
Re: CFMail return of two queries?
You must treat cfmail like cfoutput so you must escape any # and so to display query data you must use cloop.
ie.
<cfloop query="QueryName">
#data#
</cfloop>
HTH
Stressed_Simon Guest
-
Tom Jordahl #4
Re: CFMail return of two queries?
You should use Query of Queries to do a join on the two/three result sets
(aka tables).
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
scotiegirl #5
Re: CFMail return of two queries?
I'm sorry, I'm confused.....
They are being returned as tables... but I'm not sure I understand "Query of Queries"?
scotiegirl Guest
-
scotiegirl #6
Re: CFMail return of two queries?
This doesn't seem to work.... If the query MakeReceipt1 is already called I should be able to just say <cfloop query="MakeReceipt1">?
Correct?
scotiegirl Guest
-
Tom Jordahl #7
Re: CFMail return of two queries?
See the docs:
[url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001263.htm[/url]
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest



Reply With Quote

