Hi all quick one hopefully,
Look at my code
below and tell me why my cfdump is not odering the query based on the list?? If
I don't use the "ORDER BY" clause in my SQL does the query use a default
ordering or should the list be defining the order??? Can i use the list as the
"ORDER" instead???
<cfif
#URL.treatment# is "VIP">
<cfset treatment="187, 948, 968, 958, 973,
963, 969, 953,
977">
</cfif>
<cfset
dataPageID="2312">
<!--- run query using the list info above
--->
<cfquery name="qgetTreatments"
datasource="#application.DSN#">
SELECT STORYHEADING,
STORYHTML
FROM
#Application.tablePrefix#TABLESTORY
WHERE PAGEID =
'#dataPageID#'
AND STORYHEADING IN
(#treatment#)
</cfquery>
Here's the output of my
dump:
| |||||||||||||||||||||
|
| |||||||||||||||||||||
**********************************************************************
A new world of colour, sound and pictures awaits you:
Vodafone Live! More details at http://www.vodafone.com.au/live/
**********************************************************************"
This correspondence is for the named person's use only. It may
contain confidential or legally privileged information or both. "
No confidentiality or privilege is waived or lost by any "
mistransmission. If you receive this correspondence in error, please
immediately delete it from your system and notify the sender. You
must not disclose, copy or rely on any part of this correspondence
if you are not the intended recipient.
Any views expressed in this message are those of the individual sender,
except where the sender expressly, and with authority, states them to
be the views of Vodafone.
This email has been checked for viruses.
**********************************************************************************************
---You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
